chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
69a3ec0
)
debian: use debian compiler flags
author
Richard Kettlewell
<rjk@greenend.org.uk>
Tue, 14 Jan 2014 18:51:36 +0000
(18:51 +0000)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Tue, 14 Jan 2014 18:51:36 +0000
(18:51 +0000)
debian/rules
patch
|
blob
|
blame
|
history
diff --git
a/debian/rules
b/debian/rules
index ea9a54c5429c6f96cbacdb0eda56909d0d0a4e77..63319bb1d3d8386aca3abeef226f8be87cd17136 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-20,6
+20,12
@@
cgiexecdir=/usr/lib/cgi-bin
httpdir=/var/www
browser=x-www-browser
httpdir=/var/www
browser=x-www-browser
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+export CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
+
# Options to configure. This can be overridden by the caller if necessary.
CONFIGURE=--prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib --mandir=/usr/share/man --with-browser=${browser} cgiexecdir="${cgiexecdir}" httpdir="${httpdir}"
# Options to configure. This can be overridden by the caller if necessary.
CONFIGURE=--prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib --mandir=/usr/share/man --with-browser=${browser} cgiexecdir="${cgiexecdir}" httpdir="${httpdir}"