diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2018-01-08 00:08:03 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2018-01-08 00:08:03 +0100 |
commit | 662e918e93567199b6fb566cc4901df9a502c25c (patch) | |
tree | 879e10168b2b24273488aa6a9daad86fdf35dfab /package/gcc | |
parent | b5b72b1e8cc2267e69af149f48b755b97627e74e (diff) |
cosmetic changes for ABI selection
Diffstat (limited to 'package/gcc')
-rw-r--r-- | package/gcc/Makefile | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile index 4d99e214a..d7b2d072a 100644 --- a/package/gcc/Makefile +++ b/package/gcc/Makefile @@ -31,7 +31,7 @@ TARGET_CFLAGS:= TARGET_CXXFLAGS:= TARGET_LDFLAGS:= -ifeq ($(ADK_TARGET_LINUX_ARCH_XTENSA),y) +ifeq ($(ADK_TARGET_ARCH_XTENSA),y) GCC_EXTRA_CFLAGS:= -mtext-section-literals GCC_EXTRA_CXXFLAGS:= -mtext-section-literals endif @@ -40,14 +40,8 @@ endif CONFIGURE_ENV+= CC="${TARGET_CC} ${GCC_EXTRA_CFLAGS}" CONFIGURE_ENV+= CXX="${TARGET_CXX} ${GCC_EXTRA_CXXFLAGS}" -ifeq ($(ADK_TARGET_SYSTEM_LEMOTE_YEELONG),y) -CONFIGURE_ARGS+= --with-abi=$(ADK_TARGET_MIPS_ABI) -endif -ifeq ($(ADK_TARGET_SYSTEM_QEMU_MIPS64),y) -CONFIGURE_ARGS+= --with-abi=$(ADK_TARGET_MIPS_ABI) -endif -ifeq ($(ADK_TARGET_SYSTEM_QEMU_MIPS64EL),y) -CONFIGURE_ARGS+= --with-abi=$(ADK_TARGET_MIPS_ABI) +ifeq ($(ADK_TARGET_ARCH_MIPS64),y) +CONFIGURE_ARGS+= --with-abi=$(ADK_TARGET_ABI_MIPS64) endif ifneq ($(ADK_PACKAGE_GXX),) @@ -55,6 +49,7 @@ CONFIGURE_ARGS+= --enable-languages=c,c++ else CONFIGURE_ARGS+= --enable-languages=c endif + ifeq ($(ADK_TARGET_LINUX_ARCH_PPC),y) CONFIGURE_ARGS+= --disable-target-optspace --with-long-double-64 --enable-secureplt else |