diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2007-06-19 15:19:27 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2007-06-19 15:19:27 +0000 |
commit | 2c649045197156221cc1d3d6328abb1c405db700 (patch) | |
tree | 67c5c0508a08ca587284d44f8578652d3902941d /Makefile | |
parent | a7dae1919cf631a5cc95dc357bdf2acb58125669 (diff) |
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 ############################################################# # |