[Forensics-changes] [SCM] debian-forensics/scrounge-ntfs branch, debian, updated. debian/0.9-1.-11-g195f124

Daniel Baumann daniel at debian.org
Sun Feb 17 06:27:36 UTC 2008


The following commit has been merged in the debian branch:
commit 174d7b2bd43bc71a32c969c0ecc3ccabd8d31351
Author: Daniel Baumann <daniel at debian.org>
Date:   Sun Feb 17 07:25:19 2008 +0100

    Setting default CFLAGS in rules.

diff --git a/debian/rules b/debian/rules
index fa46543..1b12dcf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,15 @@
 #!/usr/bin/make -f
 
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
 
 
 config.status: configure

-- 
debian-forensics/scrounge-ntfs



More information about the forensics-changes mailing list