[gthumb] moved "-fPIC -DPIC" to configure.ac to make it work for all	the sub-folders
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gthumb] moved "-fPIC -DPIC" to configure.ac to make it work for all	the sub-folders
- Date: Wed,  2 Mar 2011 19:02:05 +0000 (UTC)
commit 135809ba40275fbf436064f59084d4f87996961e
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Mar 1 21:53:53 2011 +0100
    moved "-fPIC -DPIC" to configure.ac to make it work for all the sub-folders
 Makefile.am  |    1 -
 configure.ac |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d056875..ecac44f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,6 @@
 SUBDIRS = m4 copy-n-paste data po gthumb extensions tests help
 
 ACLOCAL_AMFLAGS = -I m4
-AMCFLAGS = -fPIC -DPIC
 
 EXTRA_DIST =                    \
 	AUTHORS                 \
diff --git a/configure.ac b/configure.ac
index bc91034..ed6037f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,7 +60,7 @@ LIBBRASERO_REQUIRED=2.28
 dnl ===========================================================================
 
 CFLAGS=${CFLAGS-:""}
-CFLAGS="$CFLAGS -Wl,--as-needed"
+CFLAGS="$CFLAGS -fPIC -DPIC -Wl,--as-needed"
 
 AC_ARG_ENABLE(deprecated,
 	      AS_HELP_STRING([--disable-deprecated], [do not use deprecated API]),
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]