diff options
-rw-r--r-- | src/Makefile.in | 2 | ||||
-rw-r--r-- | src/configure.in | 6 |
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 |