[package] fix tmux compilation (#6944)
authorFlorian Fainelli <florian@openwrt.org>
Fri, 26 Mar 2010 17:57:54 +0000 (17:57 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 26 Mar 2010 17:57:54 +0000 (17:57 +0000)
SVN-Revision: 20487

utils/tmux/Makefile

index d2f055e..e6c320f 100644 (file)
@@ -32,7 +32,8 @@ endef
 
 define Build/Compile
        CC="$(TARGET_CC)" \
-       CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
+       CFLAGS="$(TARGET_CFLAGS)" \
+       CPPFLAGS="$(TARGET_CPPFLAGS)" \
        LDFLAGS="$(TARGET_LDFLAGS)" \
        TMUX_PLATFORM="Linux" \
        $(MAKE) -C $(PKG_BUILD_DIR) all