From e16ba8293966087183adc50c7ce841e7c3eeaa60 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 7 Jul 2014 17:53:13 +0200 Subject: fix build on Darwin, make uclibc-ng powerpc possible --- toolchain/gcc/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index d2cc35d43..2e46f0062 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -98,10 +98,10 @@ GCC_CONFOPTS+= --disable-lto endif ifeq ($(ADK_LINUX_PPC),y) -ifeq ($(ADK_TARGET_LIBC),uclibc) -GCC_CONFOPTS+= --disable-target-optspace --with-long-double-128 --enable-secureplt -else +ifeq ($(ADK_TARGET_LIBC),musl) GCC_CONFOPTS+= --disable-target-optspace --with-long-double-64 --enable-secureplt +else +GCC_CONFOPTS+= --disable-target-optspace --with-long-double-128 --enable-secureplt endif else GCC_CONFOPTS+= --enable-target-optspace @@ -231,7 +231,7 @@ $(GCC_BUILD_DIR_FINAL)/.configured: --enable-languages=$(LANGUAGES) \ --with-build-sysroot='$${prefix}/${STAGING_HOST2TARGET}' \ --with-sysroot='$${prefix}/${STAGING_HOST2TARGET}' - $(MAKE) -C $(GCC_BUILD_DIR_FINAL) configure-host + PATH='$(TARGET_PATH)' $(MAKE) -C $(GCC_BUILD_DIR_FINAL) configure-host touch $@ $(WRKBUILD)/.compiled: $(GCC_BUILD_DIR_FINAL)/.configured -- cgit v1.2.3