From 8d14b7c2e737550c1323f0dd75c8906cd36ac551 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 16 Jan 2007 15:25:28 +0000 Subject: 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 --- Makefile.common | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile.common') 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 -- cgit v1.2.1