packaging/rpm: Use the RPM_OPT_FLAGS environment variable when setting
CFLAGS.
This commit is contained in:
parent
5a515fc94a
commit
47a5e75d1c
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ virtual network topologies.
|
||||||
# not using --disable-gui/--disable-daemon, because RPM expects both to be
|
# not using --disable-gui/--disable-daemon, because RPM expects both to be
|
||||||
# installed by this build process
|
# installed by this build process
|
||||||
# assume Fedora, using systemd startup script
|
# 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
|
make -j4
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
Loading…
Reference in a new issue