diff options
-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 |