Commit fbbf27d3 authored by jtaylor-guest's avatar jtaylor-guest Committed by Julian Taylor

enable hardening options

parent 6c3a4e5b
......@@ -6,8 +6,9 @@ fftw3 (3.3.2-2) unstable; urgency=low
avx not supported yet
* drop 04_improve_semaphore_detection.diff
semaphores are not shared anymore since 3.2.2
* enable hardening options
-- Julian Taylor <jtaylor.debian@googlemail.com> Sat, 09 Jun 2012 20:50:26 +0200
-- Julian Taylor <jtaylor.debian@googlemail.com> Sat, 09 Jun 2012 21:14:23 +0200
fftw3 (3.3.2-1) unstable; urgency=low
......
......@@ -5,7 +5,9 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
CFLAGS := -g -Wall
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
# old configure stuff needs a --target
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
......@@ -56,7 +58,7 @@ else
archconfflags := $(archconfflags) F77="gfortran -ff2c"
endif
SETCFLAGS := CFLAGS='$(CFLAGS)'
SETCFLAGS := CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' CPPFLAGS='$(CPPFLAGS)'
# common configure options
archconfflags := $(archconfflags) --prefix=/usr --enable-shared --enable-threads --enable-openmp --enable-mpi --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) MPILIBS="$(shell mpicc --showme:link)"
......
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