aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormescalinum <mescalinum@users.sourceforge.net>2010-09-15 12:37:05 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:08:26 +0200
commite0d1bd98943fd82b2a1456946fda28e1c59a52f2 (patch)
tree7211842a60e571aa225937ad958f7cd9321f86b9
parent9cf556c62054af9990e99fd331aa5e2135caae4a (diff)
remove -mcpu/-mtune flags as it breaks x64 build. we should eventually figure a way of determining automatically the CPU, but 'uname -m' doesn't tell the truth
svn path=/trunk/externals/io/; revision=14145
-rw-r--r--sixaxis/Makefile2
-rw-r--r--xbee/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/sixaxis/Makefile b/sixaxis/Makefile
index 5e8fe8a..51c9331 100644
--- a/sixaxis/Makefile
+++ b/sixaxis/Makefile
@@ -118,7 +118,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME)))
SOURCES += $(SOURCES_windows)
EXTENSION = dll
OS = windows
- OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer -march=i686 -mtune=pentium4
+ OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer
WINDOWS_HACKS = -D'O_NONBLOCK=1'
CFLAGS += -mms-bitfields $(WINDOWS_HACKS)
LDFLAGS += -s -shared -Wl,--enable-auto-import
diff --git a/xbee/Makefile b/xbee/Makefile
index cee7adb..b7e3c40 100644
--- a/xbee/Makefile
+++ b/xbee/Makefile
@@ -118,7 +118,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME)))
SOURCES += $(SOURCES_windows)
EXTENSION = dll
OS = windows
- OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer -march=i686 -mtune=pentium4
+ OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer
WINDOWS_HACKS = -D'O_NONBLOCK=1'
CFLAGS += -mms-bitfields $(WINDOWS_HACKS)
LDFLAGS += -s -shared -Wl,--enable-auto-import