From 46bc0e432e756fcb8fc4f703b47cd25b9fc7139c Mon Sep 17 00:00:00 2001 From: Paul P Komkoff Jr Date: Wed, 13 Aug 2008 16:17:04 +0100 Subject: [build] Test for GNU-style PIE support in toolchain and enable 2008-08-13 Paul P Komkoff Jr * configure.ac: add a configure flag and autoconf macro, which will determine if your toolchain supports PIE. * */Makefile.am: add corresponding CFLAGS and LDFLAGS into appropriate places. Signed-off-by: Paul Jakma --- ospf6d/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ospf6d') diff --git a/ospf6d/Makefile.am b/ospf6d/Makefile.am index ad828713..01bc6fe0 100644 --- a/ospf6d/Makefile.am +++ b/ospf6d/Makefile.am @@ -4,6 +4,9 @@ INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@ DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" INSTALL_SDATA=@INSTALL@ -m 600 +AM_CFLAGS = $(PICFLAGS) +AM_LDFLAGS = $(PILDFLAGS) + noinst_LIBRARIES = libospf6.a sbin_PROGRAMS = ospf6d -- cgit v1.2.1