- fix make SMP options

This commit is contained in:
kzak 2005-08-17 12:46:40 +00:00
parent 4a91433ba8
commit 42bd6e21d0

View File

@ -242,7 +242,7 @@ autoconf
# note: we disable tty group (USE_TTY_GROUP) in Makefiles to prevent call chgrp # note: we disable tty group (USE_TTY_GROUP) in Makefiles to prevent call chgrp
# during the "make install". But we define -DUSE_TTY_GROUP that enable tty groups in # during the "make install". But we define -DUSE_TTY_GROUP that enable tty groups in
# *.c files only. # *.c files only.
export CFLAGS="%{make_cflags} -DUSE_TTY_GROUP $RPM_OPT_FLAGS %{?_smp_mflags}" export CFLAGS="%{make_cflags} -DUSE_TTY_GROUP $RPM_OPT_FLAGS"
%configure \ %configure \
--disable-wall \ --disable-wall \
--disable-use-tty-group \ --disable-use-tty-group \
@ -259,7 +259,7 @@ export CFLAGS="%{make_cflags} -DUSE_TTY_GROUP $RPM_OPT_FLAGS %{?_smp_mflags}"
%define _prefix /usr %define _prefix /usr
# build util-linux # build util-linux
make make %{?_smp_mflags}
# build kbdrate # build kbdrate
%if %{with_kbdrate} %if %{with_kbdrate}