* Makefile.in (GCC_FLAGS_TO_PASS): Reset some variables that gcc
authorIan Lance Taylor <ian@airs.com>
Mon, 15 Mar 1993 23:45:33 +0000 (23:45 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 15 Mar 1993 23:45:33 +0000 (23:45 +0000)
doesn't use to avoid ARG_MAX overflow on SCO.

ChangeLog
Makefile.in

index c5bd8bea5707e8b7b569015e5febec1cb9fe698d..26ef178bc5dd00d18124d278feceab14142c1283 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Mar 15 15:44:35 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * Makefile.in (GCC_FLAGS_TO_PASS): Reset some variables that gcc
+       doesn't use to avoid ARG_MAX overflow on SCO.
+
 Fri Mar 12 18:30:14 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
 
        * configure.in: canonicalize all instances to *-*-solaris2*,
index 656bfb8d373f8d2082b732fbf2f323330dea0f38..afd3800a33c29dea65a0a980713610cd9d30dd55 100644 (file)
@@ -280,7 +280,17 @@ EXTRA_GCC_FLAGS = \
        'RANLIB=$$(RANLIB_FOR_TARGET)' \
        'XTRAFLAGS='
 
-GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
+# On SCO 3.2v4, the gcc build can fill the environment.  Resetting
+# some variables solves the problem.
+GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) \
+       $(EXTRA_GCC_FLAGS) \
+$(start-sanitize-chill)\
+       "CHILLFLAGS=" \
+       "CHILL_FOR_TARGET=" \
+       "CHILL_LIB=" \
+$(end-sanitize-chill)\
+       "CXX_FOR_TARGET=" \
+       "XTRAFLAGS_FOR_TARGET="
 
 # The first rule in the file had better be this one.  Don't put any above it.
 all:   $(ALL)