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 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