oprofile: add -fpermissive for C++ to fix build errors
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 1 Mar 2012 10:43:50 +0000 (10:43 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 1 Mar 2012 10:43:50 +0000 (10:43 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30761 3c298f89-4303-0410-b956-a3cf2f4a3e73

devel/oprofile/Makefile

index d8de542..75e9fe5 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