aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcutl/build/c/generic/configuration-dynamic.make2
-rw-r--r--libcutl/build/cxx/generic/configuration-dynamic.make2
-rw-r--r--libcutl/build/ld/configuration-lib-dynamic.make4
-rw-r--r--libxsd-frontend/build/cxx/generic/configuration-dynamic.make2
-rw-r--r--libxsd-frontend/build/ld/configuration-lib-dynamic.make4
-rw-r--r--xsd/build/cxx/generic/configuration-dynamic.make2
6 files changed, 8 insertions, 8 deletions
diff --git a/libcutl/build/c/generic/configuration-dynamic.make b/libcutl/build/c/generic/configuration-dynamic.make
index c8cf80a..319a86d 100644
--- a/libcutl/build/c/generic/configuration-dynamic.make
+++ b/libcutl/build/c/generic/configuration-dynamic.make
@@ -1,4 +1,4 @@
-ifneq ($(CC),)
+ifeq ($(filter $(origin CC),undefined default),)
c_generic := $(CC)
else
c_generic := gcc
diff --git a/libcutl/build/cxx/generic/configuration-dynamic.make b/libcutl/build/cxx/generic/configuration-dynamic.make
index d1672cf..c43865a 100644
--- a/libcutl/build/cxx/generic/configuration-dynamic.make
+++ b/libcutl/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/libcutl/build/ld/configuration-lib-dynamic.make b/libcutl/build/ld/configuration-lib-dynamic.make
index 74c8885..63d2ed3 100644
--- a/libcutl/build/ld/configuration-lib-dynamic.make
+++ b/libcutl/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
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
diff --git a/xsd/build/cxx/generic/configuration-dynamic.make b/xsd/build/cxx/generic/configuration-dynamic.make
index d1672cf..c43865a 100644
--- a/xsd/build/cxx/generic/configuration-dynamic.make
+++ b/xsd/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++