[PATCH 5/7] 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>
---
 src/Makefile.am           |    2 +-
 src/conntrack/Makefile.am |    2 +-
 src/expect/Makefile.am    |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 96446fb..7816f07 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,7 +6,7 @@ include $(top_srcdir)/Make_global.am
 
 SUBDIRS=conntrack expect
 
-AM_CFLAGS = -fPIC -Wall
+AM_CFLAGS = -Wall
 LIBS = @LIBNFCONNTRACK_LIBS@
 
 lib_LTLIBRARIES = libnetfilter_conntrack.la 
diff --git a/src/conntrack/Makefile.am b/src/conntrack/Makefile.am
index d989d10..51d03c0 100644
--- a/src/conntrack/Makefile.am
+++ b/src/conntrack/Makefile.am
@@ -1,6 +1,6 @@
 include $(top_srcdir)/Make_global.am
 
-AM_CFLAGS = -fPIC -Wall
+AM_CFLAGS = -Wall
 LIBS = @LIBNFCONNTRACK_LIBS@
 
 noinst_LTLIBRARIES = libnfconntrack.la 
diff --git a/src/expect/Makefile.am b/src/expect/Makefile.am
index b54e564..719ed23 100644
--- a/src/expect/Makefile.am
+++ b/src/expect/Makefile.am
@@ -1,6 +1,6 @@
 include $(top_srcdir)/Make_global.am
 
-AM_CFLAGS = -fPIC -Wall
+AM_CFLAGS = -Wall
 LIBS = @LIBNFCONNTRACK_LIBS@
 
 noinst_LTLIBRARIES = libnfexpect.la 
-- 
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