SHA256
1
0
forked from pool/dhcp
OBS User autobuild 2010-01-14 15:36:25 +00:00 committed by Git OBS Bridge
parent 9f076708f3
commit afa459761a
2 changed files with 3 additions and 9 deletions

View File

@ -1,9 +1,3 @@
-------------------------------------------------------------------
Thu Jan 7 20:41:13 CET 2010 - jengelh@medozas.de
- Enable parallel building
- Use large PIE model on all SPARC flavors
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 14 22:39:01 CET 2009 - mt@suse.de Mon Dec 14 22:39:01 CET 2009 - mt@suse.de

View File

@ -235,7 +235,7 @@ CFLAGS="$RPM_OPT_FLAGS -W -Wall -fno-strict-aliasing -Wno-unused -DLDAP_DEPRECAT
CFLAGS="$CFLAGS -fsigned-char" CFLAGS="$CFLAGS -fsigned-char"
%endif %endif
%if %{?suse_version:%suse_version}%{?!suse_version:99999} > 930 %if %{?suse_version:%suse_version}%{?!suse_version:99999} > 930
%ifarch ia64 %sparc alpha s390x ppc64 x86_64 %ifarch ia64 sparc64 alpha s390x ppc64 x86_64
CFLAGS="$CFLAGS -fPIE" CFLAGS="$CFLAGS -fPIE"
%else %else
CFLAGS="$CFLAGS -fpie" CFLAGS="$CFLAGS -fpie"
@ -246,12 +246,12 @@ export DEBUG_FLAGS=$CFLAGS
# first, build binaries which use bsd sockets instead of lpf # first, build binaries which use bsd sockets instead of lpf
cp includes/site.h includes/site.h.save.lpf cp includes/site.h includes/site.h.save.lpf
echo "#define USE_SOCKETS" >> includes/site.h echo "#define USE_SOCKETS" >> includes/site.h
make %{?_smp_mflags} DEBUG="$DEBUG_FLAGS -W" all make DEBUG="$DEBUG_FLAGS -W" all
cp -p work.linux-2.2/server/dhcpd work.linux-2.2/server/dhcpd.bsd cp -p work.linux-2.2/server/dhcpd work.linux-2.2/server/dhcpd.bsd
make clean make clean
# then, build the normal binaries using lpf # then, build the normal binaries using lpf
mv includes/site.h.save.lpf includes/site.h mv includes/site.h.save.lpf includes/site.h
make %{?_smp_mflags} DEBUG="$DEBUG_FLAGS -W" all make DEBUG="$DEBUG_FLAGS -W" all
# with a minimal config, see if it runs # with a minimal config, see if it runs
echo "ddns-update-style interim;" > testconf echo "ddns-update-style interim;" > testconf
work.linux-2.2/server/dhcpd -t -cf testconf || exit 1 work.linux-2.2/server/dhcpd -t -cf testconf || exit 1