summaryrefslogtreecommitdiff
path: root/toolchain/elf2flt/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-08-26 12:28:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-08-26 12:29:24 +0200
commit9d6eef9b39547d230d5a7cb871735bae71f5fd55 (patch)
treed204388625afbaed50d26c136bbea12861a0d2c6 /toolchain/elf2flt/Makefile
parent8e2707b81b0c90295c9fdf92a576925442d22147 (diff)
we need to remove crtbegin.o/crtend.o from gcc specs file. otherwise broken executables (f.e. sash) with a wrong data start are created by elf2flt)
Diffstat (limited to 'toolchain/elf2flt/Makefile')
-rw-r--r--toolchain/elf2flt/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/elf2flt/Makefile b/toolchain/elf2flt/Makefile
index 72cb6f755..a42398a3e 100644
--- a/toolchain/elf2flt/Makefile
+++ b/toolchain/elf2flt/Makefile
@@ -11,7 +11,7 @@ BINUTILS_VERSION:= 2.24
$(WRKBUILD)/.headers:
$(WRKBUILD)/.configured:
(cd $(WRKBUILD); ./configure --prefix=$(STAGING_HOST_DIR)/usr \
- --target=$(ADK_TARGET_ARCH) \
+ --target=$(GNU_TARGET_NAME) \
--with-bfd-include-dir=$(TOOLCHAIN_BUILD_DIR)/w-binutils-${BINUTILS_VERSION}-1/binutils-${BINUTILS_VERSION}/bfd \
--with-binutils-include-dir=$(TOOLCHAIN_BUILD_DIR)/w-binutils-${BINUTILS_VERSION}-1/binutils-${BINUTILS_VERSION}/include \
--with-libbfd=$(TOOLCHAIN_BUILD_DIR)/w-binutils-${BINUTILS_VERSION}-1/binutils-${BINUTILS_VERSION}/bfd/libbfd.a \