diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.in | 2 | ||||
-rw-r--r-- | src/configure.ac | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index d34d582..fd138d3 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -21,7 +21,7 @@ TARNAME = $(LIBNAME)-@IEMMATRIX_VERSION@.tgz .SUFFIXES: .$(EXT) -CFLAGS = -g -O2 $(DEFS) $(IFLAGS) $(WFLAGS) @CFLAGS@ +CFLAGS = $(DEFS) $(IFLAGS) $(WFLAGS) @CFLAGS@ LIBS = @LIBS@ include Make.source diff --git a/src/configure.ac b/src/configure.ac index 645df29..45fb377 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -76,6 +76,7 @@ dnl if test `uname -s` = Linux; then LFLAGS="-export_dynamic -shared" + CFLAGS="-fPIC $CFLAGS" EXT=pd_linux STRIPFLAGS="--strip-unneeded" fi |