]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Revert "ceph.spec: work around build.opensuse.org"
authorNathan Cutler <ncutler@suse.com>
Sat, 28 Apr 2018 19:23:01 +0000 (21:23 +0200)
committerNathan Cutler <ncutler@suse.com>
Sat, 28 Apr 2018 19:31:03 +0000 (21:31 +0200)
This reverts commit 21d941e83b168fa297aed58e27b4c11193468293 which introduced a
"kludge" to make 32-bit x86 builds work in the openSUSE Build Service (OBS).

The OBS no longer uses i386 in RPM_OPT_FLAGS when the i586 build target is
specified. The current value of RPM_OPT_FLAGS for i586 is:

-fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2 -Wall
-D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables
-fasynchronous-unwind-tables -fstack-clash-protection -g

(Side note: we are not currently building Ceph for any 32-bit architectures
in the OBS, and there are no plans to start doing so. That doesn't mean it
won't ever happen, but even if it does, this "kludge" will not be needed.)

Signed-off-by: Nathan Cutler <ncutler@suse.com>
Conflicts:
ceph.spec.in

ceph.spec.in

index 729efaec3b711fccacc4ded8b56cf636bafa25b0..81353ed6beb89a59608f12071529a49f4505864c 100644 (file)
@@ -860,7 +860,6 @@ done
 # the following setting fixed an OOM condition we once encountered in the OBS
 RPM_OPT_FLAGS="$RPM_OPT_FLAGS --param ggc-min-expand=20 --param ggc-min-heapsize=32768"
 %endif
-export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/i386/i486/'`
 
 export CPPFLAGS="$java_inc"
 export CFLAGS="$RPM_OPT_FLAGS"