From: Jay Freeman (saurik) Date: Wed, 26 Feb 2014 04:34:55 +0000 (-0800) Subject: OSX_ARCH_OPTS also needs to be added to CPPFLAGS. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dda975a007b96bc2625c1547395c914ef8028eec OSX_ARCH_OPTS also needs to be added to CPPFLAGS. --- diff --git a/configure b/configure index 13d4cf7176..33a41b441b 100755 --- a/configure +++ b/configure @@ -19413,6 +19413,7 @@ $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'` + CPPFLAGS="$OSX_ARCH_OPTS $CPPFLAGS" CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS" CFLAGS="$OSX_ARCH_OPTS $CFLAGS" OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"