changeset 1074:4f4354ddd6ae

really unexport the troublesome environment variables, rather than just setting them to empty strings
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 19 Jun 2010 20:48:32 +0200
parents a04241aba8c6
children 813c0cbce7ac
files Makefile
diffstat 1 files changed, 22 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Jun 19 16:52:16 2010 +0200
+++ b/Makefile	Sat Jun 19 20:48:32 2010 +0200
@@ -20,28 +20,28 @@
 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)))