summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4a78bb7)
raw | patch | inline | side by side (parent: 4a78bb7)
author | Sebastian Harl <sh@tokkee.org> | |
Mon, 26 May 2008 22:37:02 +0000 (00:37 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 26 May 2008 22:37:02 +0000 (00:37 +0200) |
Those are really options for the preprocessor instead of the compiler.
debian/rules | patch | blob | history |
diff --git a/debian/rules b/debian/rules
index f535c971806aa037a117cd69da46f4587bbb5891..36abe9c72d827e38cfd568196e88cc0e1d69ec3d 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-CFLAGS = -Wall -g -I$(CURDIR)/debian/include
+CPPFLAGS = -I$(CURDIR)/debian/include
+CFLAGS = -Wall -g
# There is no way to tell lt_dlopen() to use the RTLD_GLOBAL flag which is
# however required by the perl plugin (which would otherwise be unable to find
# symbols defined in libperl when loading perl modules that require such
# symbols). This is a workaround for this issue.
-CFLAGS += -DLT_LAZY_OR_NOW='RTLD_LAZY|RTLD_GLOBAL'
+CPPFLAGS += -DLT_LAZY_OR_NOW='RTLD_LAZY|RTLD_GLOBAL'
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
config.status: configure $(DPATCH_STAMPFN)
dh_testdir
- CFLAGS="$(CFLAGS)" ./configure $(confflags)
+ CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" ./configure $(confflags)
build: build-stamp