summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-09-29 09:43:27 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-09-29 09:43:27 (GMT)
commit0505dd0914d3cf9ec40905a5af49447c14ce99ae (patch)
treec7c024242bb310ae8ecbfdbfc395f9cb634eb6a3 /Makefile
parent37eb0b01171ded59b92518f2cfb899865306d069 (diff)
downloadmxe-0505dd0914d3cf9ec40905a5af49447c14ce99ae.zip
mxe-0505dd0914d3cf9ec40905a5af49447c14ce99ae.tar.gz
mxe-0505dd0914d3cf9ec40905a5af49447c14ce99ae.tar.bz2
add more environment variables to the blacklist: CPATH C_INCLUDE_PATH CPLUS_INCLUDE_PATH OBJC_INCLUDE_PATH LIBRARY_PATH
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a7f6a68..78d67d9 100644
--- a/Makefile
+++ b/Makefile
@@ -22,9 +22,11 @@ LIBTOOLIZE := $(shell glibtoolize --help >/dev/null 2>&1 && echo g)libtoolize
VERSION := $(shell $(SED) -n 's,^.*<span id="latest-version">\([^<]*\)</span>.*$$,\1,p' '$(TOP_DIR)/doc/index.html')
# unexport any environment variables that might cause trouble
-unexport AR CC CFLAGS CPP CPPFLAGS CROSS CXX CXXCPP CXXFLAGS EXEEXT
-unexport EXTRA_CFLAGS EXTRA_LDFLAGS LD LDFLAGS LIBS NM PKG_CONFIG
-unexport PKG_CONFIG_PATH QMAKESPEC RANLIB STRIP
+unexport AR CC CFLAGS C_INCLUDE_PATH CPATH CPLUS_INCLUDE_PATH CPP
+unexport CPPFLAGS CROSS CXX CXXCPP CXXFLAGS EXEEXT EXTRA_CFLAGS
+unexport EXTRA_LDFLAGS LD LDFLAGS LIBRARY_PATH LIBS NM
+unexport OBJC_INCLUDE_PATH PKG_CONFIG PKG_CONFIG_PATH QMAKESPEC
+unexport RANLIB STRIP
SHORT_PKG_VERSION = \
$(word 1,$(subst ., ,$($(1)_VERSION))).$(word 2,$(subst ., ,$($(1)_VERSION)))