summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-07-09 16:16:54 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-07-09 16:16:54 (GMT)
commit66f962b18bd74324025400a05fdde2b89c9434c0 (patch)
treef3c0dfe15bcc7fd3471b3100761d7bfc7ba5fb3c
parentab1145b386813a69c7190ea9c8695997badd329e (diff)
downloadnetsurf-all-66f962b18bd74324025400a05fdde2b89c9434c0.tar.gz
netsurf-all-66f962b18bd74324025400a05fdde2b89c9434c0.tar.bz2
Fix use of PKG_CONFIG_PATH and CC variable
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 849d2e0..11552e9 100644
--- a/Makefile
+++ b/Makefile
@@ -40,12 +40,12 @@ NSLIB_RO_TARG := librufl libpencil
# Build Environment
export TARGET ?= gtk
TMP_PREFIX := $(CURDIR)/inst-$(TARGET)
-export PKG_CONFIG_PATH = $(TMP_PREFIX)/lib/pkgconfig
+export PKG_CONFIG_PATH := $(TMP_PREFIX)/lib/pkgconfig:$(PKG_CONFIG_PATH)
export PATH := $(PATH):$(TMP_PREFIX)/bin/
TMP_NSSHARED := $(CURDIR)/buildsystem
# The system actually doing the build
-BUILD ?= $(shell cc -dumpmachine)
+BUILD ?= $(shell $(CC) -dumpmachine)
# The host we are targetting
HOST ?= $(BUILD)