checked in
OBS-URL: https://build.opensuse.org/package/show/network:dhcp/dhcp?expand=0&rev=7
This commit is contained in:
parent
9f076708f3
commit
afa459761a
@ -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
|
||||
|
||||
|
@ -235,7 +235,7 @@ CFLAGS="$RPM_OPT_FLAGS -W -Wall -fno-strict-aliasing -Wno-unused -DLDAP_DEPRECAT
|
||||
CFLAGS="$CFLAGS -fsigned-char"
|
||||
%endif
|
||||
%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"
|
||||
%else
|
||||
CFLAGS="$CFLAGS -fpie"
|
||||
@ -246,12 +246,12 @@ export DEBUG_FLAGS=$CFLAGS
|
||||
# first, build binaries which use bsd sockets instead of lpf
|
||||
cp includes/site.h includes/site.h.save.lpf
|
||||
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
|
||||
make clean
|
||||
# then, build the normal binaries using lpf
|
||||
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
|
||||
echo "ddns-update-style interim;" > testconf
|
||||
work.linux-2.2/server/dhcpd -t -cf testconf || exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user