summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Shadura <bugzilla@tut.by>2012-01-09 01:27:46 +0300
committerAndrew Shadura <bugzilla@tut.by>2012-01-09 01:27:46 +0300
commit899ee095d980f49d84de15cdbcfaadb1f65e10ec (patch)
treeb816a1425c2e2a52a6577f6d7d2b8a0bbf68a0c1
parent308a2967328fbad64f1499db8e360492d572767e (diff)
downloadlibxml2-899ee095d980f49d84de15cdbcfaadb1f65e10ec.tar.gz
Honour CC environment variable.
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index fbd97a3..59c4ebe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,7 @@ $(if $(shell grep -q libxml2-udeb debian/control && echo yes),$(shell sed -i /li
export DH_OPTIONS = -Nlibxml2-udeb
endif
-CONFIGURE_FLAGS := --with-history CC="gcc -Wl,--as-needed" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" --cache-file="$(CURDIR)/build/config.cache"
+CONFIGURE_FLAGS := --with-history CC="$(CC) -Wl,--as-needed" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" --cache-file="$(CURDIR)/build/config.cache"
override_dh_auto_configure: $(TARGETS:%=configure-%)