Commit c5e4ec4d authored by Florian Ernst's avatar Florian Ernst

debian/rules: enable all hardening

parent a2601b43
......@@ -12,6 +12,7 @@ CONFIGURE_FLAGS := --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr --bindir=/usr/games --with-xpm \
--without-rplay --with-esound --without-nas
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
CFLAGS += -Wall
......@@ -27,14 +28,14 @@ build-motif-stamp:
ln -sf /usr/share/misc/config.sub .
ln -sf /usr/share/misc/config.guess .
LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" LIBS="-laudiofile" ./configure $(CONFIGURE_FLAGS) --with-motif
$(MAKE)
$(MAKE) CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" XWIDGETLDFLAGS="$(LDFLAGS)"
touch $@
build-nomotif-stamp:
dh_testdir
[ ! -f Makefile ] || $(MAKE) -i distclean
LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" LIBS="-laudiofile" ./configure $(CONFIGURE_FLAGS) --without-motif
$(MAKE)
$(MAKE) CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" XWIDGETLDFLAGS="$(LDFLAGS)"
touch $@
clean:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment