summaryrefslogtreecommitdiffstats
path: root/rules/cross-gcc-first.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/cross-gcc-first.make')
-rw-r--r--rules/cross-gcc-first.make12
1 files changed, 6 insertions, 6 deletions
diff --git a/rules/cross-gcc-first.make b/rules/cross-gcc-first.make
index a571699..cd0de40 100644
--- a/rules/cross-gcc-first.make
+++ b/rules/cross-gcc-first.make
@@ -68,7 +68,8 @@ CROSS_GCC_AUTOCONF_COMMON := \
--host=$(GNU_HOST) \
--target=$(PTXCONF_GNU_TARGET) \
--with-sysroot=$(SYSROOT) \
- $(PTXCONF_CROSS_GCC_FIRST_EXTRA_CONFIG) \
+ $(PTXCONF_CROSS_GCC_EXTRA_CONFIG) \
+ $(PTXCONF_CROSS_GCC_EXTRA_CONFIG_LIBC) \
\
--disable-nls \
--disable-multilib \
@@ -76,6 +77,10 @@ CROSS_GCC_AUTOCONF_COMMON := \
--enable-__cxa_atexit \
--disable-libunwind-exceptions
+ifndef CROSS_GCC_HEADERS
+CROSS_GCC_AUTOCONF_COMMON += --without-headers
+endif
+
CROSS_GCC_FIRST_AUTOCONF := \
$(CROSS_GCC_AUTOCONF_COMMON) \
--prefix=$(CROSS_GCC_FIRST_PREFIX) \
@@ -91,11 +96,6 @@ CROSS_GCC_FIRST_AUTOCONF := \
--disable-libssp \
--disable-libgomp
-ifdef PTXCONF_NEWLIB
-CROSS_GCC_FIRST_AUTOCONF += \
- --with-newlib \
- --without-headers
-endif
$(STATEDIR)/cross-gcc-first.prepare:
@$(call targetinfo, $@)