mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-21 19:32:30 +00:00
propogate configure command line options into quakeforge.spec
This commit is contained in:
parent
8dbf889466
commit
c687c6917a
2 changed files with 2 additions and 5 deletions
|
@ -808,6 +808,7 @@ AC_SUBST(HAVE_UDP)
|
|||
AC_SUBST(NET_SOURCE)
|
||||
AC_SUBST(VERSION)
|
||||
AC_SUBST(QF_VERSION)
|
||||
AC_SUBST(ac_configure_args)
|
||||
|
||||
dnl Output files
|
||||
AC_CONFIG_HEADER(common/config.h)
|
||||
|
|
|
@ -110,11 +110,7 @@ Requires: quakeforge
|
|||
%setup -q
|
||||
|
||||
%build
|
||||
%if "%{SND_STYLE}"=="'ALSA'"
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --enable-alsa
|
||||
%else
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
|
||||
%endif
|
||||
CFLAGS="$RPM_OPT_FLAGS" ./configure @ac_configure_args@ --prefix=/usr
|
||||
make
|
||||
|
||||
%install
|
||||
|
|
Loading…
Reference in a new issue