diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-08-25 05:41:18 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-08-25 05:41:18 -0400 |
commit | a2256559a6888f79749625fa16dd618167bc36cb (patch) | |
tree | 9ba2ac46b277cc8185a8f78b4a3d00abe1ecf964 | |
parent | use AM_SILENT_RULES() for now (diff) | |
download | sandbox-a2256559a6888f79749625fa16dd618167bc36cb.tar.gz sandbox-a2256559a6888f79749625fa16dd618167bc36cb.tar.bz2 sandbox-a2256559a6888f79749625fa16dd618167bc36cb.zip |
drop force pic flags
The autotool build system already adds PIC where needed, so don't force
our own -D/-f options.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | libsandbox/Makefile.am | 3 | ||||
-rw-r--r-- | libsbutil/Makefile.am | 3 | ||||
-rw-r--r-- | src/Makefile.am | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/libsandbox/Makefile.am b/libsandbox/Makefile.am index 8d5772b..9edd466 100644 --- a/libsandbox/Makefile.am +++ b/libsandbox/Makefile.am @@ -6,8 +6,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir) \ -I$(top_srcdir)/libsbutil \ -I$(top_srcdir)/libsbutil/include \ - $(SANDBOX_DEFINES) \ - -DPIC -fPIC + $(SANDBOX_DEFINES) libsandbox_la_CFLAGS = $(CFLAG_EXCEPTIONS) # Could use the following to libsandbox_la_LIBADD, but then libtool links it diff --git a/libsbutil/Makefile.am b/libsbutil/Makefile.am index f6b7a8d..f1feca3 100644 --- a/libsbutil/Makefile.am +++ b/libsbutil/Makefile.am @@ -3,8 +3,7 @@ AUTOMAKE_OPTIONS = foreign AM_CPPFLAGS = \ -I$(top_srcdir) \ -I$(srcdir)/include \ - $(SANDBOX_DEFINES) \ - -DPIC -fPIC + $(SANDBOX_DEFINES) LOCAL_INCLUDES = $(top_srcdir)/localdecls.h diff --git a/src/Makefile.am b/src/Makefile.am index 6da6f9e..3e7e31c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,8 +6,7 @@ AM_CPPFLAGS = \ -I$(top_srcdir) \ -I$(top_srcdir)/libsbutil \ -I$(top_srcdir)/libsbutil/include \ - $(SANDBOX_DEFINES) \ - -DPIC -fPIC + $(SANDBOX_DEFINES) sandbox_LDADD = $(top_builddir)/libsbutil/libsbutil.la $(LIBDL) sandbox_SOURCES = \ |