aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormescalinum <mescalinum@users.sourceforge.net>2010-09-15 12:37:05 +0000
committermescalinum <mescalinum@users.sourceforge.net>2010-09-15 12:37:05 +0000
commit547c1eac6a563ff07d92568e07e080df266427e8 (patch)
tree4916df0c5dce7216f55056d7704233ee83269acf
parent265cf0b857c3fd23be84529242f1575cb1cb7151 (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/hcs/; revision=14145
-rw-r--r--Makefile2
-rw-r--r--usbhid/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d111471..f9fdd7a 100644
--- a/Makefile
+++ b/Makefile
@@ -144,7 +144,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME)))
EXTENSION = dll
OS = windows
PD_PATH = $(shell cd "$(PROGRAMFILES)"/pd && pwd)
- OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer -march=i686 -mtune=pentium4
+ OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer
CFLAGS += -mms-bitfields
LDFLAGS += -s -shared -Wl,--enable-auto-import
LIBS += -L"$(PD_PATH)/src" -L"$(PD_PATH)/bin" -L"$(PD_PATH)/obj" -lpd -lwsock32 -lkernel32 -luser32 -lgdi32
diff --git a/usbhid/Makefile b/usbhid/Makefile
index 2b62dd0..7df9795 100644
--- a/usbhid/Makefile
+++ b/usbhid/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