summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2014-07-07 17:53:13 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2014-07-07 17:53:32 +0200
commite16ba8293966087183adc50c7ce841e7c3eeaa60 (patch)
treeef9d05cfddba08b2179cf96cb3e7aa3698b3b721 /toolchain/gcc/Makefile
parentd69bd66d93c92cd7bf138f7ea18fc2be64e442b4 (diff)
fix build on Darwin, make uclibc-ng powerpc possible
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile8
1 files 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