projects
/
debian
/
cc1111
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
patches from Kamal Mostafa <kamal@whence.com> for rules and gcc 4.6.3 issues
[debian/cc1111]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index 01210e1b7493e00c60a668abb1464af9b4fd97f5..171c82a56672df9e6e2f7811635800378dfdc144 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-9,10
+9,10
@@
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
export HOME=$(CURDIR)/build
export HOME=$(CURDIR)/build
-CFLAGS =
`dpkg-buildflags --get CFLAGS`
+CFLAGS =
$(shell dpkg-buildflags --get CFLAGS)
CFLAGS += -Wall -Wno-comment
CFLAGS += -Wall -Wno-comment
-LDFLAGS =
`dpkg-buildflags --get LDFLAGS`
-CPPFLAGS =
`dpkg-buildflags --get CPPFLAGS`
+LDFLAGS =
$(shell dpkg-buildflags --get LDFLAGS)
+CPPFLAGS =
$(shell dpkg-buildflags --get CPPFLAGS)
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g -O0
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
CFLAGS += -g -O0