[PATCH 3/9] build: remove -fPIC flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



libtool automatically adds PIC flags as needed.

Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx>
---
 input/flow/Makefile.am   |    2 +-
 input/packet/Makefile.am |    2 +-
 libipulog/Makefile.am    |    2 --
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/input/flow/Makefile.am b/input/flow/Makefile.am
index 11bf217..c2b5f88 100644
--- a/input/flow/Makefile.am
+++ b/input/flow/Makefile.am
@@ -1,6 +1,6 @@
 
 AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include
-AM_CFLAGS=-fPIC -Wall
+AM_CFLAGS = -Wall
 
 pkglib_LTLIBRARIES = ulogd_inpflow_NFCT.la # ulogd_inpflow_IPFIX.la
 
diff --git a/input/packet/Makefile.am b/input/packet/Makefile.am
index 566b817..4dff308 100644
--- a/input/packet/Makefile.am
+++ b/input/packet/Makefile.am
@@ -1,6 +1,6 @@
 
 AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include
-AM_CFLAGS=-fPIC -Wall
+AM_CFLAGS = -Wall
 LIBS=
 
 pkglib_LTLIBRARIES = ulogd_inppkt_NFLOG.la ulogd_inppkt_ULOG.la ulogd_inppkt_UNIXSOCK.la
diff --git a/libipulog/Makefile.am b/libipulog/Makefile.am
index a205cc6..290f8ee 100644
--- a/libipulog/Makefile.am
+++ b/libipulog/Makefile.am
@@ -1,8 +1,6 @@
 
 AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include
 
-AM_CFLAGS=-fPIC
-
 noinst_LTLIBRARIES = libipulog.la
 
 libipulog_la_SOURCES = libipulog.c
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux