From 7692fb0231361b7a30198fa17e2d5643d2a62037 Mon Sep 17 00:00:00 2001 From: prozacx Date: Sun, 17 Sep 2006 21:15:47 +0000 Subject: [PATCH] Always use -fPIC git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@773 726aef4b-f618-498e-8847-2d620e286838 --- configure | 4 +--- configure.in | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 954c65cf..f353737e 100755 --- a/configure +++ b/configure @@ -1940,9 +1940,7 @@ elif `echo $host_os | grep -i 'sol' >/dev/null 2>/dev/null`; then ISSUN=1 fi -if test "$host_cpu" = "x86_64"; then - appendCXX -fPIC -fi +appendCXX -fPIC # Check whether --with-openssl or --without-openssl was given. diff --git a/configure.in b/configure.in index 4925dfbf..165c4a55 100644 --- a/configure.in +++ b/configure.in @@ -36,9 +36,7 @@ elif `echo $host_os | grep -i 'sol' >/dev/null 2>/dev/null`; then ISSUN=1 fi -if test "$host_cpu" = "x86_64"; then - appendCXX -fPIC -fi +appendCXX -fPIC AC_ARG_WITH( openssl, [ --with-openssl=/path/to/openssl], OPENSSL=$withval,) AC_ARG_ENABLE( debug, [ --enable-debug enable debuging], appendCXX -Wall -ggdb -D_DEBUG, appendCXX -Wall -s -O2 -fomit-frame-pointer )