aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorN.N. <sergi_ll@users.sourceforge.net>2008-07-10 15:43:49 +0000
committerN.N. <sergi_ll@users.sourceforge.net>2008-07-10 15:43:49 +0000
commitdedb814cdb1cd4a6d88fae3ce8229620badd006b (patch)
tree240d0ca34624956fdb1f27a8224bc9497991ac78 /Makefile
parent2ceb4d9fc2e577d8c7b5f37a14932e811f50d921 (diff)
add -fPIC cflag
svn path=/trunk/externals/pix_opencv/; revision=10160
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c506f93..a497264 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ GEM_OPENCV_VERSION = 0.1
# build flags
INCLUDES = -I$(PD_DIR)/src -I. -I$(GEM_DIR)/src -I$(PD_DIR)/src
-CPPFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math \
+CPPFLAGS = -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math \
-Wall -W -Wno-unused -Wno-parentheses -Wno-switch \
-DGEM_OPENCV_VERSION=\"$(GEM_OPENCV_VERSION)\" -g