From e0d1bd98943fd82b2a1456946fda28e1c59a52f2 Mon Sep 17 00:00:00 2001 From: mescalinum Date: Wed, 15 Sep 2010 12:37:05 +0000 Subject: 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 --- sixaxis/Makefile | 2 +- xbee/Makefile | 2 +- 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 -- cgit v1.2.1