summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-04-01 12:46:17 +0200
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-04-01 12:46:17 +0200
commita8fd86a19a7d6551c937d34a821ea3a6bda0c012 (patch)
treec9420386e21f8eb3a0870a126f7f25d4cbff0870
parentef554dc6f2867f13ef776c4273ec2b8b0cacfc3e (diff)
cflags problem
-rw-r--r--package/libpcap/Makefile1
-rw-r--r--package/tcpdump/Makefile2
2 files changed, 3 insertions, 0 deletions
diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile
index 369e8d8a3..a7c384eb9 100644
--- a/package/libpcap/Makefile
+++ b/package/libpcap/Makefile
@@ -31,6 +31,7 @@ CONFIGURE_ARGS+= --disable-yydebug \
TARGET_CFLAGS+= ${TARGET_CPPFLAGS}
INSTALL_TARGET= install install-shared
MAKE_FLAGS+= STAGING_TARGET_DIR=$(STAGING_TARGET_DIR)
+XAKE_FLAGS+= GCC_HONOUR_COPTS=s
ifneq (${ADK_PACKAGE_LIBPCAP_WITH_IPV6},)
CONFIGURE_ARGS+= --enable-ipv6
diff --git a/package/tcpdump/Makefile b/package/tcpdump/Makefile
index 989638d7f..aadcf62a4 100644
--- a/package/tcpdump/Makefile
+++ b/package/tcpdump/Makefile
@@ -37,6 +37,8 @@ endif
XAKE_FLAGS+= CCOPT="${TARGET_CFLAGS}" \
INCLS="-I. -I${STAGING_TARGET_DIR}/usr/include"
+XAKE_FLAGS+= GCC_HONOUR_COPTS=s
+
post-install:
${INSTALL_DIR} ${IDIR_TCPDUMP}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/tcpdump ${IDIR_TCPDUMP}/usr/sbin/