diff options
-rw-r--r-- | package/libpcap/Makefile | 1 | ||||
-rw-r--r-- | package/tcpdump/Makefile | 2 |
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/ |