summaryrefslogtreecommitdiff
path: root/bgpd
diff options
context:
space:
mode:
authorPaul P Komkoff Jr <i@stingr.net>2008-08-13 16:17:04 +0100
committerPaul Jakma <paul@quagga.net>2008-08-22 19:52:12 +0100
commit46bc0e432e756fcb8fc4f703b47cd25b9fc7139c (patch)
tree60100ca1e11c3c3600441d366b236f4a2de519ca /bgpd
parentd664ae1182c29b74b409bc8594b7bd0575e91ce9 (diff)
[build] Test for GNU-style PIE support in toolchain and enable
2008-08-13 Paul P Komkoff Jr <i@stingr.net> * 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 <paul@quagga.net>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/bgpd/Makefile.am b/bgpd/Makefile.am
index 80e93284..1b17d386 100644
--- a/bgpd/Makefile.am
+++ b/bgpd/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 = libbgp.a
sbin_PROGRAMS = bgpd