aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--externals/iem/iem_atan2/src/makefile2
-rw-r--r--externals/iem/iem_atan2/src/makefile_linux2
2 files changed, 2 insertions, 2 deletions
diff --git a/externals/iem/iem_atan2/src/makefile b/externals/iem/iem_atan2/src/makefile
index 7ce891d1..31e19e53 100644
--- a/externals/iem/iem_atan2/src/makefile
+++ b/externals/iem/iem_atan2/src/makefile
@@ -11,7 +11,7 @@ LIB = -ldl -lm -lpthread
CFLAGS = -DPD -DUNIX -W -Wno-unused \
-Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing \
- -DDL_OPEN
+ -DDL_OPEN -fPIC
SYSTEM = $(shell uname -m)
diff --git a/externals/iem/iem_atan2/src/makefile_linux b/externals/iem/iem_atan2/src/makefile_linux
index 005d1e54..649f9dcf 100644
--- a/externals/iem/iem_atan2/src/makefile_linux
+++ b/externals/iem/iem_atan2/src/makefile_linux
@@ -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 -fno-strict-aliasing \
- -DDL_OPEN
+ -DDL_OPEN -fPIC
SYSTEM = $(shell uname -m)