fix serdisplib compile
authorFelix Fietkau <nbd@openwrt.org>
Sun, 30 Dec 2007 03:15:03 +0000 (03:15 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 30 Dec 2007 03:15:03 +0000 (03:15 +0000)
SVN-Revision: 10045

libs/serdisplib/Makefile

index 9c7ef77..fc43c27 100644 (file)
@@ -40,7 +40,9 @@ define Build/Configure
 endef
 
 define Build/Compile
-       $(MAKE) -C $(PKG_BUILD_DIR) all
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               CFLAGS="$(TARGET_CFLAGS) -Wall -Wno-implicit -fPIC -I../include -I.." \
+               all
 endef
 
 define Build/InstallDev