summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-06-19 18:48:32 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-06-19 18:48:32 (GMT)
commit42a967db9745d5ab5a4b2accd7c2a35fdd7b1611 (patch)
treee232b4e87ff5142df8e7d300aa7b1ec4d3f3d7a6 /Makefile
parent8f7f12ce515cb61ca8424dc7ad37ce0427001672 (diff)
downloadmxe-42a967db9745d5ab5a4b2accd7c2a35fdd7b1611.zip
mxe-42a967db9745d5ab5a4b2accd7c2a35fdd7b1611.tar.gz
mxe-42a967db9745d5ab5a4b2accd7c2a35fdd7b1611.tar.bz2
really unexport the troublesome environment variables, rather than just setting them to empty strings
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile44
1 files changed, 22 insertions, 22 deletions
diff --git a/Makefile b/Makefile
index 6f00340..823d9c7 100644
--- a/Makefile
+++ b/Makefile
@@ -20,28 +20,28 @@ INSTALL := $(shell ginstall --help >/dev/null 2>&1 && echo g)install
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')
-# unset any environment variables which might cause trouble
-AR =
-CC =
-CFLAGS =
-CPP =
-CPPFLAGS =
-CROSS =
-CXX =
-CXXCPP =
-CXXFLAGS =
-EXEEXT =
-EXTRA_CFLAGS =
-EXTRA_LDFLAGS =
-LD =
-LDFLAGS =
-LIBS =
-NM =
-PKG_CONFIG =
-PKG_CONFIG_PATH =
-QMAKESPEC =
-RANLIB =
-STRIP =
+# unexport any environment variables that might cause trouble
+unexport AR
+unexport CC
+unexport CFLAGS
+unexport CPP
+unexport CPPFLAGS
+unexport CROSS
+unexport CXX
+unexport CXXCPP
+unexport CXXFLAGS
+unexport EXEEXT
+unexport EXTRA_CFLAGS
+unexport EXTRA_LDFLAGS
+unexport LD
+unexport LDFLAGS
+unexport LIBS
+unexport NM
+unexport PKG_CONFIG
+unexport PKG_CONFIG_PATH
+unexport QMAKESPEC
+unexport RANLIB
+unexport STRIP
SHORT_PKG_VERSION = \
$(word 1,$(subst ., ,$($(1)_VERSION))).$(word 2,$(subst ., ,$($(1)_VERSION)))