[package] pwlib: set -fpermissive to build properly with gcc-4.7+
authorFlorian Fainelli <florian@openwrt.org>
Tue, 7 Aug 2012 16:09:21 +0000 (16:09 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Tue, 7 Aug 2012 16:09:21 +0000 (16:09 +0000)
SVN-Revision: 33047

libs/pwlib/Makefile

index 36c4ae6ebb46403910c322f2335456c1491a8125..84e4f3ed9a313ec34631bc1e589880a92096280c 100644 (file)
@@ -32,7 +32,7 @@ define Package/pwlib/description
  System.
 endef
 
-TARGET_CFLAGS += $(FPIC)
+TARGET_CFLAGS += $(FPIC) -fpermissive
 
 CONFIGURE_ARGS += \
        --enable-minsize \