diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-10-09 00:03:42 +0200 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-10-09 00:03:42 +0200 |
commit | 85d494466fadacdb0b020b6c3aa6bde77e5350ac (patch) | |
tree | dcb6ad9537c7f8cedb7d761b3a8ec0415ff6d75b /package | |
parent | 14b1dc5940bd35637fd901418fbf6c2fe1974fec (diff) |
enable multilib
Diffstat (limited to 'package')
-rw-r--r-- | package/binutils/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/binutils/Makefile b/package/binutils/Makefile index 9bd18ce93..43043514c 100644 --- a/package/binutils/Makefile +++ b/package/binutils/Makefile @@ -19,6 +19,12 @@ 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})) +ifeq ($(ADK_TARGET_WITH_MULTILIB),y) +CONFIGURE_ARGS+= --enable-multilib +else +CONFIGURE_ARGS+= --disable-multilib +endif + TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS)) TARGET_CFLAGS+= -fPIC ifeq ($(ADK_NATIVE),) |