aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-05-22 19:29:49 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-05-22 19:29:49 +0000
commitff4fe15b6dc6b6d6b224021aa1eadfe047426b5c (patch)
tree0c18089447ce6fe91785a9c16accd8e0f1a62158 /src
parent8fba50650dbcf00aade328281922120ac10cc38b (diff)
now compiles on 64bit-linux
svn path=/trunk/externals/zexy/; revision=3066
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in2
-rw-r--r--src/configure.in6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 54fc023..320218e 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -21,7 +21,7 @@ TARNAME = $(LIBNAME)-@ZEXY_VERSION@.tgz
# ICCFLAGS=-march=pentiumiii -axK
PDCFLAGS = -g -O2 $(DEFS) $(IFLAGS) $(WFLAGS) $(LFLAGS) $(AFLAGS)
-CFLAGS = -g -O2 $(DEFS) $(IFLAGS) $(WFLAGS) @CFLAGS@
+CFLAGS = $(DEFS) $(IFLAGS) $(WFLAGS) @CFLAGS@
LIBS = @LIBS@
#LIBS = -lpthread -lm -lc
diff --git a/src/configure.in b/src/configure.in
index cfc67e4..a447e87 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -88,10 +88,10 @@ then
if test $CC = "icc"
then
LD=$CC
- LFLAGS="-ip -ipo_obj "$LFLAGS
- CFLAGS="-ip -ipo_obj "$CFLAGS
+ LFLAGS="-ip -ipo_obj $LFLAGS"
+ CFLAGS="-ip -ipo_obj $CFLAGS"
else
- :
+ CFLAGS="-fPIC $CFLAGS"
fi
fi