mirror of https://git.wownero.com/dsc/mxe.git
really unexport the troublesome environment variables, rather than just setting them to empty strings
This commit is contained in:
parent
8f7f12ce51
commit
42a967db97
44
Makefile
44
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
|
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')
|
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
|
# unexport any environment variables that might cause trouble
|
||||||
AR =
|
unexport AR
|
||||||
CC =
|
unexport CC
|
||||||
CFLAGS =
|
unexport CFLAGS
|
||||||
CPP =
|
unexport CPP
|
||||||
CPPFLAGS =
|
unexport CPPFLAGS
|
||||||
CROSS =
|
unexport CROSS
|
||||||
CXX =
|
unexport CXX
|
||||||
CXXCPP =
|
unexport CXXCPP
|
||||||
CXXFLAGS =
|
unexport CXXFLAGS
|
||||||
EXEEXT =
|
unexport EXEEXT
|
||||||
EXTRA_CFLAGS =
|
unexport EXTRA_CFLAGS
|
||||||
EXTRA_LDFLAGS =
|
unexport EXTRA_LDFLAGS
|
||||||
LD =
|
unexport LD
|
||||||
LDFLAGS =
|
unexport LDFLAGS
|
||||||
LIBS =
|
unexport LIBS
|
||||||
NM =
|
unexport NM
|
||||||
PKG_CONFIG =
|
unexport PKG_CONFIG
|
||||||
PKG_CONFIG_PATH =
|
unexport PKG_CONFIG_PATH
|
||||||
QMAKESPEC =
|
unexport QMAKESPEC
|
||||||
RANLIB =
|
unexport RANLIB
|
||||||
STRIP =
|
unexport STRIP
|
||||||
|
|
||||||
SHORT_PKG_VERSION = \
|
SHORT_PKG_VERSION = \
|
||||||
$(word 1,$(subst ., ,$($(1)_VERSION))).$(word 2,$(subst ., ,$($(1)_VERSION)))
|
$(word 1,$(subst ., ,$($(1)_VERSION))).$(word 2,$(subst ., ,$($(1)_VERSION)))
|
||||||
|
|
Loading…
Reference in New Issue