]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Leverage CFLAGS from environment in contrib Makefiles
authorMichal Nowak <mnowak@isc.org>
Mon, 30 May 2022 13:50:15 +0000 (15:50 +0200)
committerMichal Nowak <mnowak@isc.org>
Wed, 23 Nov 2022 16:17:15 +0000 (17:17 +0100)
contrib/dlz/example/Makefile
contrib/dlz/modules/bdbhpt/Makefile
contrib/dlz/modules/filesystem/Makefile
contrib/dlz/modules/ldap/Makefile
contrib/dlz/modules/mysql/Makefile
contrib/dlz/modules/mysqldyn/Makefile
contrib/dlz/modules/sqlite3/Makefile
contrib/dlz/modules/wildcard/Makefile

index c4479403e2cf6947326915b32338d61e54f64afe..5c66ba1f31b9e696068103252b85e2334dc7bf13 100644 (file)
@@ -16,7 +16,7 @@
 # this means this Makefile is not portable, so the testsuite
 # skips this test on platforms where it doesn't build
 
-CFLAGS=-Wall -fPIC -g
+CFLAGS += -Wall -fPIC -g
 
 all: dlz_example.so
 
index 45080af743ddbb3b6254811dee0fd00ebfcca7aa..29d6b94cc6b47546c36ae061bb446161c829d816 100644 (file)
@@ -26,7 +26,7 @@
 prefix = /usr
 libdir = $(prefix)/lib/bind9
 
-CFLAGS=-fPIC -g -I../include
+CFLAGS += -fPIC -g -I../include
 BDB_LIBS=-ldb
 
 all: dlz_bdbhpt_dynamic.so
index 40ecb79c5b47c582c4890343a2ea0a9e2b270cef..6c5470f343e7f0a8702a8491f020a0fda3bb050c 100644 (file)
@@ -26,7 +26,7 @@
 prefix = /usr
 libdir = $(prefix)/lib/bind9
 
-CFLAGS=-fPIC -g -I../include
+CFLAGS += -fPIC -g -I../include
 
 all: dlz_filesystem_dynamic.so
 
index 8e86e3ef979627ce269b242f15490571fbd18288..d9b6ff5bfef077900cdf6ca3e5678c65eb7086ca 100644 (file)
@@ -26,7 +26,7 @@
 prefix = /usr
 libdir = $(prefix)/lib/bind9
 
-CFLAGS=-fPIC -g -I../include
+CFLAGS += -fPIC -g -I../include
 LDAP_LIBS=-lldap
 
 all: dlz_ldap_dynamic.so
index 606dcefe6cfb4d09b47cef0ef6cbe88daa8eb524..5d0904c13f1f0becd42b2480d5927e597e58a69e 100644 (file)
@@ -26,7 +26,7 @@
 prefix = /usr
 libdir = $(prefix)/lib/bind9
 
-CFLAGS=-fPIC -g -I../include $(shell mysql_config --cflags)
+CFLAGS += -fPIC -g -I../include $(shell mysql_config --cflags)
 MYSQL_LIBS=$(shell mysql_config --libs)
 
 all: dlz_mysql_dynamic.so
index 38fe4ff9b18730f372df4fb7066a0c9bfd79fae5..f78cd2ff2e1be52c0af62fb5b3fd51475d7e340e 100644 (file)
@@ -26,7 +26,7 @@
 prefix = /usr
 libdir = $(prefix)/lib/bind9
 
-CFLAGS=-fPIC -g -I../include $(shell mysql_config --cflags)
+CFLAGS += -fPIC -g -I../include $(shell mysql_config --cflags)
 MYSQL_LIBS=$(shell mysql_config --libs)
 
 all: dlz_mysqldyn_mod.so
index b7861ded55e7dfa8fce693916ec01e76c19713d9..1532921b95f6116b77877881b135f6c788acce64 100644 (file)
@@ -26,7 +26,7 @@
 prefix = /usr
 libdir = $(prefix)/lib/bind9
 
-CFLAGS=-fPIC -g -I../include
+CFLAGS += -fPIC -g -I../include
 SQLITE3_LIBS=-lsqlite3
 
 all: dlz_sqlite3_dynamic.so
index d09a83a8bece23b08eeadeb8a0b6c97c435a231d..087a3538e964b594833a8798c8ab2759c9087cf6 100644 (file)
@@ -27,7 +27,7 @@
 prefix = /usr
 libdir = $(prefix)/lib/bind9
 
-CFLAGS=-fPIC -g -I../include
+CFLAGS += -fPIC -g -I../include
 
 all: dlz_wildcard_dynamic.so