diff options
author | Peter Korsgaard | 2007-06-19 17:19:27 +0200 |
---|---|---|
committer | Peter Korsgaard | 2007-06-19 17:19:27 +0200 |
commit | 2c649045197156221cc1d3d6328abb1c405db700 (patch) | |
tree | 67c5c0508a08ca587284d44f8578652d3902941d /Makefile | |
parent | If external toolchain support NPTL, then we should build Open POSIX Testsuite... (diff) | |
download | buildroot-2c649045197156221cc1d3d6328abb1c405db700.tar.gz buildroot-2c649045197156221cc1d3d6328abb1c405db700.tar.xz buildroot-2c649045197156221cc1d3d6328abb1c405db700.zip |
Hide troublesome environment variables from sub processes
(E.G. screws up gdb, busybox, ..)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -46,6 +46,13 @@ ifeq ($(strip $(BR2_HAVE_DOT_CONFIG)),y) cc-option = $(shell if $(TARGET_CC) $(TARGET_CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;) +############################################################# +# +# Hide troublesome environment variables from sub processes +# +############################################################# +unexport CROSS_COMPILE +unexport ARCH ############################################################# # |