| To: | freecwmp@linux-mips.org |
|---|---|
| Subject: | [PATCH] freecwmp: define code as needing GNU features |
| From: | Jonas Gorski <jonas.gorski@gmail.com> |
| Date: | Fri, 25 May 2012 23:06:45 +0200 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:x-mailer:in-reply-to:references; bh=Y2/v/bN7Xu3VzZsqQkmElIzmZV2WJzxZOH0St8X1jNY=; b=rWCIK3LNglyz4qiHEb6BJie5rzrs2wqeF0W9wDqkkZHthZ++QDSMhRmzELCl514xDE 6ssJFosvPvtM8kI8AafS6iFnaG7Kt8E4jxa1OyUm+ANDTEtd4h08x2IaEocAKzOm2Tfw UbCyeXfVgt+6LfY/kmjFOTvXC75w4X589uba9u0WcdHyjLPCBpiAQuptLGeqp2oAP167 BTY3Wdh097ZDxlMeN6KEJq0+6ruqknjQXqSzss8wM0Hkn4sgd0thCGOtX4NjhlM3CjMp sS8uEzYufOI4+k9/3nKzP6tKc2GYf996Q3TkCoaJ8g7Q1PNm868Fg6pEbJuQah2g3R78 sV8g== |
| In-reply-to: | <1337980005-20916-1-git-send-email-jonas.gorski@gmail.com> |
| Original-recipient: | rfc822;freecwmp@linux-mips.org |
| References: | <1337980005-20916-1-git-send-email-jonas.gorski@gmail.com> |
| Sender: | freecwmp-bounce@linux-mips.org |
fixes the following build failure:
freecwmpd-external.o: In function `external_download':
openwrt/build_dir/target-i386_uClibc-0.9.33/freecwmp-2012-04-30/bin/../src/cwmp/external.c:260:
undefined reference to `WIFEXITED'
openwrt/build_dir/target-i386_uClibc-0.9.33/freecwmp-2012-04-30/bin/../src/cwmp/external.c:260:
undefined reference to `WEXITSTATUS'
Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
---
I'm not sure whether this should be fixed in the package Makefile or in
freecwmp's Makefile itself, so I chose the easy way and added it to the
package Makefile.
freecwmp/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/freecwmp/Makefile b/freecwmp/Makefile
index b8b406e..0cdbe84 100644
--- a/freecwmp/Makefile
+++ b/freecwmp/Makefile
@@ -44,6 +44,9 @@ define Build/Prepare
endef
endif
+TARGET_CFLAGS += \
+ -D_GNU_SOURCE
+
TARGET_LDFLAGS += \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
--
1.7.10
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] freecwmp: do not include host's /usr/include, Jonas Gorski |
|---|---|
| Next by Date: | Re: [PATCH] freecwmp: do not include host's /usr/include, Luka Perkov |
| Previous by Thread: | [PATCH] freecwmp: do not include host's /usr/include, Jonas Gorski |
| Next by Thread: | Re: [PATCH] freecwmp: define code as needing GNU features, Luka Perkov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |