]> granicus.if.org Git - pdns/commit
Link only programs with -pie
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 27 Jan 2015 22:04:39 +0000 (23:04 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 27 Jan 2015 22:08:55 +0000 (23:08 +0100)
commitb2053c28ccb9609e2ce7bcb6beda83f98a062aa3
treeed4f90b1323fec56deb2ab52909c94e46626148a
parentdced89b1b0f3c43dff0d4a2183d5e50bf3949cde
Link only programs with -pie

Add a new variable, $PROGRAM_LDFLAGS
only meant for programs, not libraries.

Add PIE_LDFLAGS to this variable.

Since all programs need $THREADFLAGS,
add it to this variable too. This allows us
to remove a lot of program_LDFLAGS which contained only
$THREADFLAGS

An extra advantage is that we don't touch the user's LDFLAGS
anymore.
configure.ac
pdns/Makefile.am