aboutsummaryrefslogtreecommitdiff
path: root/libxsd-frontend/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-11-21 09:12:13 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-11-21 09:12:13 +0200
commitd6a1f58f40e108aac8f506f2e61e7306e771a576 (patch)
tree2f8ced48d63eace146d625d8239be6b6e5344476 /libxsd-frontend/build
parent3804f7f85a483edc23e0f47217f143e3102abf26 (diff)
Don't use default make values for CC, CXX, AR, and RANLIB
Diffstat (limited to 'libxsd-frontend/build')
-rw-r--r--libxsd-frontend/build/cxx/generic/configuration-dynamic.make2
-rw-r--r--libxsd-frontend/build/ld/configuration-lib-dynamic.make4
2 files changed, 3 insertions, 3 deletions
diff --git a/libxsd-frontend/build/cxx/generic/configuration-dynamic.make b/libxsd-frontend/build/cxx/generic/configuration-dynamic.make
index d1672cf..c43865a 100644
--- a/libxsd-frontend/build/cxx/generic/configuration-dynamic.make
+++ b/libxsd-frontend/build/cxx/generic/configuration-dynamic.make
@@ -1,4 +1,4 @@
-ifneq ($(CXX),)
+ifeq ($(filter $(origin CXX),undefined default),)
cxx_generic := $(CXX)
else
cxx_generic := g++
diff --git a/libxsd-frontend/build/ld/configuration-lib-dynamic.make b/libxsd-frontend/build/ld/configuration-lib-dynamic.make
index 74c8885..63d2ed3 100644
--- a/libxsd-frontend/build/ld/configuration-lib-dynamic.make
+++ b/libxsd-frontend/build/ld/configuration-lib-dynamic.make
@@ -1,12 +1,12 @@
ld_lib_type := archive
-ifneq ($(AR),)
+ifeq ($(filter $(origin AR),undefined default),)
ld_lib_ar := $(AR)
else
ld_lib_ar := ar
endif
-ifneq ($(RANLIB),)
+ifeq ($(filter $(origin RANLIB),undefined default),)
ld_lib_ranlib := $(RANLIB)
else
ld_lib_ranlib := ranlib