aboutsummaryrefslogtreecommitdiff
path: root/src/iemlib2
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-09-03 08:28:41 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-09-03 08:28:41 +0000
commit6e998a2511a2631e9419242ae1419d97fbcc2b14 (patch)
treeeaf03d91bf9249c92b795f01d930009c073aaca1 /src/iemlib2
parenta36d3c23c9afa9afa53565d476ce79249bea4144 (diff)
added "-fPIC" tocompile under x86_64 in "makefile"
include <math.h> in sigm2f and splitfilname svn path=/trunk/externals/iemlib/; revision=3477
Diffstat (limited to 'src/iemlib2')
-rw-r--r--src/iemlib2/makefile2
-rw-r--r--src/iemlib2/sigm2f.c1
-rw-r--r--src/iemlib2/splitfilename.c1
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 -- */