[evolution-kolab: 7/9] build system: always build position-independent code
- From: Christian Hilberg <chilberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-kolab: 7/9] build system: always build position-independent code
- Date: Mon, 6 Feb 2012 20:32:06 +0000 (UTC)
commit 2fd2ee0124fd46530682842d26cf332966187340
Author: Christian Hilberg <hilberg kernelconcepts de>
Date: Mon Feb 6 21:19:59 2012 +0100
build system: always build position-independent code
* evolution-kolab cannot sensibly be built without
-fPIC compiler flag at present, so adding it
to the compiler CFLAGS right away (needed for
x64 builds at least)
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 04dd95b..d1c0274 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,7 +73,7 @@ AC_SUBST(KOLAB_INCLUDE)
KOLAB_INCLUDE_EKOLABCONV="-I\$(top_srcdir)/src/libekolabconv/main/src -I\$(top_builddir)/src/libekolabconv/main/src"
AC_SUBST(KOLAB_INCLUDE_EKOLABCONV)
-CFLAGS="$CFLAGS $LARGEFILE_CFLAGS"
+CFLAGS="$CFLAGS $LARGEFILE_CFLAGS -fPIC"
AC_SUBST(CFLAGS)
ADD_CFLAGS="-std=c99 -pedantic -Wall -Wextra -Wcast-align -Wredundant-decls -Wconversion -Wbad-function-cast -Wundef -Wfloat-equal -Wswitch-default -Wmissing-include-dirs -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]