diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-08-27 15:04:26 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-08-27 15:04:26 +0100 |
commit | 27881baf8085fdf239547e909a0c725607697a8c (patch) | |
tree | f6211b039f27ee6bcd96c28dbadc5926672d48d2 | |
parent | 21c622d30aa1a542debcdc8de1be6801283486eb (diff) | |
download | openembedded-core-27881baf8085fdf239547e909a0c725607697a8c.tar.gz openembedded-core-27881baf8085fdf239547e909a0c725607697a8c.tar.bz2 openembedded-core-27881baf8085fdf239547e909a0c725607697a8c.tar.xz openembedded-core-27881baf8085fdf239547e909a0c725607697a8c.zip |
dhcp: Fix to work with glibc 2.9
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/packages/dhcp/dhcp_4.1.0.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/packages/dhcp/dhcp_4.1.0.bb b/meta/packages/dhcp/dhcp_4.1.0.bb index 4d6838923..cb6b267f3 100644 --- a/meta/packages/dhcp/dhcp_4.1.0.bb +++ b/meta/packages/dhcp/dhcp_4.1.0.bb @@ -2,7 +2,7 @@ SECTION = "console/network" DESCRIPTION = "Internet Software Consortium DHCP package" HOMEPAGE = "http://www.isc.org/" LICENSE = "BSD" -PR = "r6" +PR = "r7" SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-${PV}.tar.gz \ file://fixincludes.patch;patch=1 \ file://dhcp-3.0.3-dhclient-dbus.patch;patch=1;pnum=0 \ @@ -12,6 +12,8 @@ SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-${PV}.tar.gz \ inherit autotools +TARGET_CFLAGS += "-D_GNU_SOURCE" + do_compile() { make RANLIB=${RANLIB} PREDEFINES='-D_PATH_DHCPD_DB=\"/var/lib/dhcp/dhcpd.leases\" \ -D_PATH_DHCLIENT_DB=\"/var/lib/dhcp/dhclient.leases\" \ |