fix serdisplib compile
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 30 Dec 2007 03:15:03 +0000 (03:15 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 30 Dec 2007 03:15:03 +0000 (03:15 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10045 3c298f89-4303-0410-b956-a3cf2f4a3e73

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