summaryrefslogtreecommitdiff
path: root/package/binutils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-17 09:44:44 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-17 09:44:44 +0100
commitc0e617ea5633e5879f4b7dcf00f7942cf5da6a83 (patch)
tree7f5414994b6cd15d7bdcce1f05bd2a75d4bfa06c /package/binutils
parentf2b441c93ac0542edd34eaa30f5a55efa73439b9 (diff)
parent521eddfc1e29218e26e3080c095a519ea3f8156d (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/binutils')
-rw-r--r--package/binutils/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/binutils/Makefile b/package/binutils/Makefile
index c23bac585..5734e198d 100644
--- a/package/binutils/Makefile
+++ b/package/binutils/Makefile
@@ -25,10 +25,10 @@ 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},${PKG_OPTS}))
-ifeq ($(ADK_TARGET_WITH_MULTILIB),y)
-CONFIGURE_ARGS+= --enable-multilib
-else
+ifeq ($(ADK_LINUX_SH)$(ADK_LINUX_X86_64),)
CONFIGURE_ARGS+= --disable-multilib
+else
+CONFIGURE_ARGS+= --enable-multilib
endif
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))