packaging/rpm: Use the RPM_OPT_FLAGS environment variable when setting

CFLAGS.
This commit is contained in:
Tom Goff 2015-12-29 11:15:08 -05:00
parent 5a515fc94a
commit 47a5e75d1c

View file

@ -65,7 +65,7 @@ virtual network topologies.
# not using --disable-gui/--disable-daemon, because RPM expects both to be
# installed by this build process
# assume Fedora, using systemd startup script
CFLAGS="-fno-strict-aliasing $CFLAGS" %configure --with-startup=systemd
CFLAGS="-fno-strict-aliasing $RPM_OPT_FLAGS" %configure --with-startup=systemd
make -j4
%install