summaryrefslogtreecommitdiff
path: root/package/binutils/Makefile
diff options
context:
space:
mode:
authorwbx <wbx@openadk.org>2011-04-08 12:37:48 +0200
committerwbx <wbx@openadk.org>2011-04-08 12:37:48 +0200
commit34fc06736330cc993fd1c936ed9205cdc73aa0fd (patch)
tree42319fe9aa25f82370948335d6dccd571da945d6 /package/binutils/Makefile
parent6ea415c59b9ced9d08be7348d268ae4543017a56 (diff)
parent297e4004d154572e29ee71f8ed852b022686e852 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/binutils/Makefile')
-rw-r--r--package/binutils/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/binutils/Makefile b/package/binutils/Makefile
index 7bbe48e0d..96c6a4f67 100644
--- a/package/binutils/Makefile
+++ b/package/binutils/Makefile
@@ -19,6 +19,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BINUTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBBFD,libbfd,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBBFD},${PKGSC_LIBBFD}))
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
TARGET_CFLAGS+= -fPIC
CONFIGURE_ARGS+= --disable-werror \
--host=$(REAL_GNU_TARGET_NAME) \