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/iem/comport/; revision=14145
This commit is contained in:
mescalinum 2010-09-15 12:37:05 +00:00
parent 68295eb180
commit aa706e9d01

View file

@ -140,7 +140,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME)))
EXTENSION = dll EXTENSION = dll
OS = windows OS = windows
PD_PATH = $(shell cd "$(PROGRAMFILES)"/pd && pwd) 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 CFLAGS += -mms-bitfields
LDFLAGS += -s -shared -Wl,--enable-auto-import 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 LIBS += -L"$(PD_PATH)/src" -L"$(PD_PATH)/bin" -L"$(PD_PATH)/obj" -lpd -lwsock32 -lkernel32 -luser32 -lgdi32