diff options
-rwxr-xr-x | debian/rules | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules index 23dad68..c0f8375 100755 --- a/debian/rules +++ b/debian/rules @@ -5,11 +5,12 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -CFLAGS = $(dpkg-buildflags --get CFLAGS) +CFLAGS = $(shell dpkg-buildflags --get CFLAGS) CFLAGS += -Wall -g -LDFLAGS = $(dpkg-buildflags --get LDFLAGS) -LDFLAGS += defs -CPPFLAGS = $(dpkg-buildflags --get CPPFLAGS) +LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) +LDFLAGS += -Wl,-z,defs +CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) +export CFLAGS CPPFLAGS LDFLAGS # shared library versions, option 1 version=9 |