From d75d62f6e1721d86f40a4ade1b971470c42ff1f2 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sun, 21 Nov 2004 22:32:29 +0000 Subject: Set CFLAGS at configure time and not at build time. --- debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 4ff41a2..c545332 100755 --- a/debian/rules +++ b/debian/rules @@ -119,6 +119,7 @@ stamp-configure: dh_testdir -mkdir build cd build && ../configure $(drivers) \ + CFLAGS="$(CFLAGS) -DNDEBUG" \ --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) touch stamp-configure @@ -127,6 +128,7 @@ stamp-configure-dbg: dh_testdir -mkdir build-dbg cd build-dbg && ../configure --enable-kdb $(drivers) \ + CFLAGS="$(CFLAGS)" \ --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) touch stamp-configure-dbg @@ -134,7 +136,7 @@ all build: build-gnumach: configure dh_testdir - $(MAKE) -C build CFLAGS="$(CFLAGS) -DNDEBUG" + $(MAKE) -C build $(MAKE) -C build/doc build-gnumach-dbg: configure-dbg -- cgit v1.2.3