make sure the new gbuild system gets these flags too
This commit is contained in:
parent
f126d8e652
commit
263625b18d
@ -736,6 +736,17 @@ export QT4DIR=%{_qt4_prefix}
|
||||
export KDE4DIR=%{_kde4_prefix}
|
||||
export PATH=$QT4DIR/bin:$PATH
|
||||
|
||||
#use the RPM_OPT_FLAGS but remove the OOo overridden ones
|
||||
for i in $RPM_OPT_FLAGS; do
|
||||
case "$i" in
|
||||
-O?|-pipe|-Wall|-g|-fexceptions) continue;;
|
||||
esac
|
||||
ARCH_FLAGS="$ARCH_FLAGS $i"
|
||||
done
|
||||
export ARCH_FLAGS
|
||||
export CFLAGS=$ARCH_FLAGS
|
||||
export CXXFLAGS=$ARCH_FLAGS
|
||||
|
||||
autoconf
|
||||
%configure \
|
||||
--with-vendor="Red Hat, Inc." --with-num-cpus=$NBUILDS --with-max-jobs=$NDMAKES \
|
||||
@ -772,15 +783,6 @@ cp %{SOURCE30} ext_sources
|
||||
cp %{SOURCE31} ext_sources
|
||||
touch src.downloaded
|
||||
|
||||
#use the RPM_OPT_FLAGS but remove the OOo overridden ones
|
||||
for i in $RPM_OPT_FLAGS; do
|
||||
case "$i" in
|
||||
-O?|-pipe|-Wall|-g|-fexceptions) continue;;
|
||||
esac
|
||||
ARCH_FLAGS="$ARCH_FLAGS $i"
|
||||
done
|
||||
export ARCH_FLAGS
|
||||
|
||||
. ./*[Ee]nv.[Ss]et.sh
|
||||
./bootstrap
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user