diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-09-03 08:28:41 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-09-03 08:28:41 +0000 |
commit | 6e998a2511a2631e9419242ae1419d97fbcc2b14 (patch) | |
tree | eaf03d91bf9249c92b795f01d930009c073aaca1 | |
parent | a36d3c23c9afa9afa53565d476ce79249bea4144 (diff) |
added "-fPIC" tocompile under x86_64 in "makefile"
include <math.h> in sigm2f and splitfilname
svn path=/trunk/externals/iemlib/; revision=3477
-rw-r--r-- | src/iemlib2/makefile | 2 | ||||
-rw-r--r-- | src/iemlib2/sigm2f.c | 1 | ||||
-rw-r--r-- | src/iemlib2/splitfilename.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/iemlib2/makefile b/src/iemlib2/makefile index d4d27a9..a463e02 100644 --- a/src/iemlib2/makefile +++ b/src/iemlib2/makefile @@ -11,7 +11,7 @@ LIB = -ldl -lm -lpthread CFLAGS = -DPD -DUNIX -W -Werror -Wno-unused \ -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer \ - -DDL_OPEN + -DDL_OPEN -fPIC SYSTEM = $(shell uname -m) diff --git a/src/iemlib2/sigm2f.c b/src/iemlib2/sigm2f.c index eb410c6..0309497 100644 --- a/src/iemlib2/sigm2f.c +++ b/src/iemlib2/sigm2f.c @@ -13,6 +13,7 @@ iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 #include <stdlib.h> #include <string.h> #include <stdio.h> +#include <math.h> /* ----------- m2f~ ----------- */ /* --------- obsolete --------- */ diff --git a/src/iemlib2/splitfilename.c b/src/iemlib2/splitfilename.c index 20330e5..5f009c8 100644 --- a/src/iemlib2/splitfilename.c +++ b/src/iemlib2/splitfilename.c @@ -13,6 +13,7 @@ iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005 #include <stdlib.h> #include <string.h> #include <stdio.h> +#include <math.h> /* ----------------------- splitfilename -------------------------- */ /* -- splits a symbol into 2 parts (path + file) at the position -- */ |