summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConstantin Jucovschi <jucovschi@gmail.com>2010-08-11 10:06:35 +0200
committerwww-data <www-data@ubuntu.localdomain>2010-08-11 10:07:32 +0200
commitb523d72a5b65b362e499daf12f045ed9ba12ef28 (patch)
treec6ef524613d47d38da701f32410e3ab60915d246
parentd8ad4cdd2ae4e27feee34f78ab6ad22162c691c1 (diff)
downloadrasdaman-upstream-b523d72a5b65b362e499daf12f045ed9ba12ef28.tar.gz
rasdaman-upstream-b523d72a5b65b362e499daf12f045ed9ba12ef28.tar.xz
rasdaman-upstream-b523d72a5b65b362e499daf12f045ed9ba12ef28.zip
added -fPIC compile options. Needed for GDAL.
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 33d8f47..0f04fd4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -130,6 +130,7 @@ AC_CONFIG_FILES([Makefile
manuals_and_examples/Makefile
insertutils/Makefile
include/Makefile
+ java/Makefile
])
# --------------- Header Template Definitions ----------------------
@@ -273,7 +274,8 @@ AS_IF([test "x$RMANDEBUG" != x],
AC_DEFINE([__NO_MATH_INLINES])
CXXFLAGS+=" -O2"
])
-# CXXFLAGS+= -fPIC ???NEEDED???
+CXXFLAGS+= -fPIC
+CFLAGS+=-fPIC
AC_DEFINE_UNQUOTED([RMANVERSION], [$RMANVERSION])
AC_DEFINE_UNQUOTED([BASEDBSTRING], ["$BASEDBSTRING"])
AC_DEFINE([EARLY_TEMPLATE])