Codebase list dillo / 1d50446
Enable hardening build flags via dpkg-buildflags Axel Beckert 12 years ago
2 changed file(s) with 5 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
00 dillo (3.0.2-2) UNRELEASED; urgency=low
11
22 * Compile with -fPIC to avoid FTBFS on amd64 (Closes: #664949)
3 * Enable hardening build flags via dpkg-buildflags
34
45 -- Axel Beckert <abe@debian.org> Sat, 24 Mar 2012 21:15:35 +0100
56
1010 CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
1111 endif
1212
13 CFLAGS = -Wall -g
14 CPPFLAGS=-fPIC
15 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
16 CFLAGS += -O0
17 else
18 CFLAGS += -O2
19 endif
13 DEB_CFLAGS_MAINT_APPEND=-Wall
14 DEB_CPPFLAGS_MAINT_APPEND=-fPIC
15 DPKG_EXPORT_BUILDFLAGS = 1
16 include /usr/share/dpkg/buildflags.mk
2017
2118 configure: config.status
2219 config.h.in.backup:
2926 --sysconfdir=/etc \
3027 --enable-ipv6 \
3128 --enable-ssl \
32 CFLAGS="$(CFLAGS)" \
33 CPPFLAGS="$(CPPFLAGS)" \
3429
3530 build: build-arch build-indep
3631 build-arch: build-stamp