]> git.puffer.fish Git - mirror/frr.git/commitdiff
build: build ospfd as Position-Independed Executable (if appropriate)
authorDmitrij Tejblum <tejblum@yandex-team.ru>
Sat, 3 Sep 2011 10:35:24 +0000 (14:35 +0400)
committerDmitrij Tejblum <tejblum@yandex-team.ru>
Mon, 5 Sep 2011 07:08:04 +0000 (11:08 +0400)
Since 46bc0e432e75, all the binaries are built as Position-Independed
Executables (if available and enabled). ospfd was missed for some
unknown reason.

ospfd/Makefile.am

index 2e4d5c8e10cfa41ed178ba1fc6cd4ab1e7f124c3..390f2e3f08e53506f82c7e24cc9b5287630eda56 100644 (file)
@@ -4,6 +4,9 @@ INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@
 DEFS = @DEFS@ $(LOCAL_OPTS) -DSYSCONFDIR=\"$(sysconfdir)/\"
 INSTALL_SDATA=@INSTALL@ -m 600
 
+AM_CFLAGS = $(PICFLAGS)
+AM_LDFLAGS = $(PILDFLAGS)
+
 lib_LTLIBRARIES = libospf.la
 libospf_la_LDFLAGS = -version 0:0:0