diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2014-04-07 15:48:24 +0200 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-04-07 15:48:24 +0200 |
| commit | 7c1f6387d20faf69453a59de6c34227f9f2b833c (patch) | |
| tree | 10036b326525db316f614baefaaf5932d1f8e3cc /toolchain/binutils/Makefile | |
| parent | 3a00a860d7d26282b5645992559fdb52f3c58fbf (diff) | |
| parent | d63d9df8e5c245214fbd94856773eba4b0c731cf (diff) | |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/binutils/Makefile')
| -rw-r--r-- | toolchain/binutils/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index 4d34e3566..87cea2987 100644 --- a/toolchain/binutils/Makefile +++ b/toolchain/binutils/Makefile @@ -6,12 +6,24 @@ include Makefile.inc include ../rules.mk include ${TOPDIR}/mk/buildhlp.mk -ifeq ($(ADK_TOOLCHAIN_GCC_SSP),y) +ifeq ($(ADK_TOOLCHAIN_SSP),y) CONFOPTS+= --enable-libssp else CONFOPTS+= --disable-libssp endif +ifeq ($(ADK_TOOLCHAIN_LTO),y) +CONFOPTS+= --enable-lto +else +CONFOPTS+= --disable-lto +endif + +ifeq ($(ADK_TOOLCHAIN_GOLD),y) +CONFOPTS+= --enable-gold +else +CONFOPTS+= --disable-gold +endif + ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y) CONFOPTS+= --with-arch=armv6 endif |
