From: nbd Date: Thu, 1 Mar 2012 10:43:50 +0000 (+0000) Subject: oprofile: add -fpermissive for C++ to fix build errors X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=144b2de11dc1bbf8a32d4f30add811c1fd35a00e;p=packages.git oprofile: add -fpermissive for C++ to fix build errors git-svn-id: svn://svn.openwrt.org/openwrt/packages@30761 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/devel/oprofile/Makefile b/devel/oprofile/Makefile index d8de5425a..75e9fe575 100644 --- a/devel/oprofile/Makefile +++ b/devel/oprofile/Makefile @@ -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