Don't build the znc binary with position independent code

This is only needed for code that ends up in a shared object which is the
module code for us.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1338 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-01-21 13:30:07 +00:00
parent 127347825e
commit 34337d7b76
2 changed files with 12 additions and 14 deletions
Vendored
+6 -7
View File
@@ -2465,13 +2465,6 @@ case "${host_os}" in
;;
esac
# cygwin
# warning: -fPIC ignored for target (all code is position independent)
if test -z "$ISCYGWIN" ; then
appendCXX -fPIC
fi
# Check whether --with-openssl was given.
if test "${with_openssl+set}" = set; then
@@ -3082,6 +3075,12 @@ echo "$as_me: error: could not find dlopen. Try --disable-modules" >&2;}
appendMod -mimpure-text
fi
# cygwin doesn't know -fPIC, everything else needs it (for modules)
# warning: -fPIC ignored for target (all code is position independent)
if test -z "$ISCYGWIN" ; then
appendMod -fPIC
fi
if test -z "$ISDARWIN"; then
MODLINK="-shared"
else
+6 -7
View File
@@ -61,13 +61,6 @@ case "${host_os}" in
;;
esac
# cygwin
# warning: -fPIC ignored for target (all code is position independent)
if test -z "$ISCYGWIN" ; then
appendCXX -fPIC
fi
AC_ARG_WITH( [openssl],
AS_HELP_STRING([--with-openssl=DIR], [openssl's installation prefix]),
[OPENSSL=$withval],)
@@ -184,6 +177,12 @@ if test "$MODULES" = "yes"; then
appendMod -mimpure-text
fi
# cygwin doesn't know -fPIC, everything else needs it (for modules)
# warning: -fPIC ignored for target (all code is position independent)
if test -z "$ISCYGWIN" ; then
appendMod -fPIC
fi
if test -z "$ISDARWIN"; then
MODLINK="-shared"
else