diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-03-18 01:08:58 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-03-18 01:08:58 +0000 |
commit | 34b3298baa2e3cd3d35ac1a6b195ad445d11bf84 (patch) | |
tree | 54e3d8f6e2c21412d27d0d4a31f8216554fc531f /Makefile.in | |
parent | f6a91cc0f7695aef3575c3d3cca397667a9f1027 (diff) | |
download | gdb-34b3298baa2e3cd3d35ac1a6b195ad445d11bf84.zip gdb-34b3298baa2e3cd3d35ac1a6b195ad445d11bf84.tar.gz gdb-34b3298baa2e3cd3d35ac1a6b195ad445d11bf84.tar.bz2 |
A new ARG_MAX hack. Use unexport to keep GNU make from dumping the
CHILL variables in the environment, with a : variable to keep older
makes happy.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/Makefile.in b/Makefile.in index afd3800..a923015 100644 --- a/Makefile.in +++ b/Makefile.in @@ -117,6 +117,12 @@ CHILL_FOR_TARGET = ` \ t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \ fi; \ fi` + +## This is ugly, but I don't want GNU make to put these variables in +## the environment. Older makes will see this as a set of targets +## with no dependencies and no actions. +unexport CHILLFLAGS CHILL_LIB CHILL_FOR_TARGET : + $(end-sanitize-chill) CXX_FOR_TARGET = ` \ @@ -280,17 +286,7 @@ EXTRA_GCC_FLAGS = \ 'RANLIB=$$(RANLIB_FOR_TARGET)' \ 'XTRAFLAGS=' -# 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=" +GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) # The first rule in the file had better be this one. Don't put any above it. all: $(ALL) @@ -806,7 +802,6 @@ install-chillrt: force true ; \ fi -all-gdb: all-chillrt ### end-sanitize-chill ### gprof |