diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-06 17:15:30 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-06 17:15:30 +0100 |
commit | 82c6a8783762311101d342edef1d8492b0feac52 (patch) | |
tree | ab31de8edf8e2d6e278ede7fbd741f58c78c75b6 /toolchain | |
parent | 091853fb61e56b30e7d069a921d81ab6715a9dd8 (diff) |
fix cross-compile of gcc, when using uClibc. --dynamic-linker was using /lib/ld-uClibc.so.0
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/gcc/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 138e3a0d0..f32b1836d 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -18,6 +18,7 @@ GCC_CONFOPTS= --prefix=$(STAGING_HOST_DIR) \ --with-libelf=$(STAGING_HOST_DIR) \ --disable-__cxa_atexit \ --with-gnu-ld \ + --with-gnu-as \ --disable-libsanitizer \ --disable-libitm \ --disable-libmudflap \ @@ -176,6 +177,7 @@ $(GCC_BUILD_DIR_FINAL)/.configured: $(WRKBUILD)/configure \ ${GCC_CONFOPTS} \ --enable-languages=$(LANGUAGES) \ + --with-build-sysroot='$${prefix}/${STAGING_HOST2TARGET}' \ --with-sysroot='$${prefix}/${STAGING_HOST2TARGET}' \ --enable-shared touch $@ |