[PATCH 5/8] build: remove manual -fPIC flag

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

 



libtool will take care of adding -fPIC as needed. In fact, static
libraries are often not desired to be compiled with -fPIC.

Signed-off-by: Jan Engelhardt <jengelh@xxxxxxxxxx>
---
 lib/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/Makefile.am b/lib/Makefile.am
index 74f36e8..79b81db 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,6 +1,6 @@
 include $(top_srcdir)/Make_global.am
 
-AM_CFLAGS += -fPIC ${libmnl_CFLAGS}
+AM_CFLAGS += ${libmnl_CFLAGS}
 
 lib_LTLIBRARIES = libipset.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