oprofile: add -fpermissive for C++ to fix build errors
authorFelix Fietkau <nbd@openwrt.org>
Thu, 1 Mar 2012 10:43:50 +0000 (10:43 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 1 Mar 2012 10:43:50 +0000 (10:43 +0000)
SVN-Revision: 30761

devel/oprofile/Makefile

index d8de5425aa395e8d48953e33cf5546c84389c584..75e9fe575d113146db16272b634ba0c86d82735f 100644 (file)
@@ -49,6 +49,7 @@ define Build/Configure
        )
 endef
 
+TARGET_CXXFLAGS += -fpermissive
 TARGET_LDFLAGS := -L$(STAGING_DIR)/usr/lib $(TARGET_LDFLAGS)
 
 define Package/oprofile-utils/install