Split CFLAGS and LDFLAGS in call to ./configure.
[debian/cdck.git] / debian / rules
index 834496487156bafb681e6ca2a89dada6092b3245..3f2c92a1a37814eeb8a3906db8fffd25b14a5029 100755 (executable)
@@ -27,7 +27,7 @@ endif
 
 config.status: configure
        dh_testdir
-       CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+       ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS=" -Wl,-z,defs"
 
 
 build: build-stamp
@@ -81,4 +81,4 @@ binary-arch: build install
        dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+.PHONY: build clean binary-indep binary-arch binary install