aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-03-15 23:45:33 +0000
committerIan Lance Taylor <ian@airs.com>1993-03-15 23:45:33 +0000
commit8871eea22f40e05e63c256d0eb10001cc76ce217 (patch)
treebd6bad606c31c1095376066d93a6c8b71bd4e7c2 /Makefile.in
parenta36f6645fbe4c366d3e0a2b9e5e778733510313e (diff)
downloadgdb-8871eea22f40e05e63c256d0eb10001cc76ce217.zip
gdb-8871eea22f40e05e63c256d0eb10001cc76ce217.tar.gz
gdb-8871eea22f40e05e63c256d0eb10001cc76ce217.tar.bz2
* Makefile.in (GCC_FLAGS_TO_PASS): Reset some variables that gcc
doesn't use to avoid ARG_MAX overflow on SCO.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 656bfb8..afd3800 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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)