tcpdump: fix tcpdump-mini broken in r19606
authorFelix Fietkau <nbd@openwrt.org>
Thu, 18 Feb 2010 21:38:10 +0000 (21:38 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 18 Feb 2010 21:38:10 +0000 (21:38 +0000)
SVN-Revision: 19710

net/tcpdump/Makefile

index a6ec2650f00606550b01d3df06cfe29c35114bf6..910c6c2960cb5b936c745a3107f4e22d3fb76cd5 100644 (file)
@@ -51,8 +51,7 @@ CONFIGURE_VARS += \
        td_cv_buggygetaddrinfo="no" \
        ac_cv_linux_vers=$(LINUX_VERSION)
 
-MAKE_FLAGS := \
-       CCOPT="$(TARGET_CFLAGS)" INCLS="-I. $(TARGET_CPPFLAGS)"
+MAKE_FLAGS :=
 
 ifeq ($(BUILD_VARIANT),mini)
   TARGET_CFLAGS += -DTCPDUMP_MINI
@@ -60,6 +59,10 @@ ifeq ($(BUILD_VARIANT),mini)
   MAKE_FLAGS += TCPDUMP_MINI=1
 endif
 
+MAKE_FLAGS += \
+       CCOPT="$(TARGET_CFLAGS)" INCLS="-I. $(TARGET_CPPFLAGS)"
+
+
 define Package/tcpdump/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/tcpdump $(1)/usr/sbin/