diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-01-16 15:25:28 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-01-16 15:25:28 +0000 |
commit | 8d14b7c2e737550c1323f0dd75c8906cd36ac551 (patch) | |
tree | 7f35dbe9463c1996ed899ee8fc968000895eef30 | |
parent | cf11b926eefd8f5bdf055b2afaa838d5393d7646 (diff) |
OPT_CFLAGS was getting overridden by the Pd-extended build system, therefore -mms-bitfields wasn't being included; now it is and it seems to work fine
svn path=/trunk/externals/miXed/; revision=7353
-rw-r--r-- | Makefile.common | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.common b/Makefile.common index 85a7981..bdc4d71 100644 --- a/Makefile.common +++ b/Makefile.common @@ -49,9 +49,10 @@ endif ifeq ($(OS_NAME),MinGW) CC = gcc X_SUFFIX = dll -DEFINES = -DNT -DMSW -# assuming pd itself was mingw-compiled, and -mms-bitfields was not set -OPT_CFLAGS = -funroll-loops -mms-bitfields +# OPT_CFLAGS gets overridden in Pd-extended builds for optimization +# flags, so stick -mms-bitfieds here so that it doesn't get overridden +DEFINES = -mms-bitfields -DNT -DMSW +OPT_CFLAGS = -funroll-loops LFLAGS = -shared $(PD_DIR)/../bin/pd.dll endif |