From 22b7d6100c822037b971bca3d3f854c69df33fdb Mon Sep 17 00:00:00 2001 From: meep-eep Date: Sat, 25 Nov 2006 03:34:33 +0000 Subject: [PATCH] Windres, Rez, and MacOS architecture flags are dependant on the host system, not the build system. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2539 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/build/unix/config_proginfo_build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sc2/build/unix/config_proginfo_build b/sc2/build/unix/config_proginfo_build index d751a7dcb..6248f2494 100644 --- a/sc2/build/unix/config_proginfo_build +++ b/sc2/build/unix/config_proginfo_build @@ -60,7 +60,7 @@ useGccBuildTools() { BUILDTOOL_LINK_COMMAND="\$PROG_gcc_FILE $EXTRA_PLATFORM_GCC_LINK_FLAGS" BUILDTOOL_LINK_DEPEND='gcc' } -case "$BUILD_SYSTEM" in +case "$HOST_SYSTEM" in Darwin) EXTRA_PLATFORM_GCC_FLAGS_COMPILE_C='-arch ppc -arch i386' EXTRA_PLATFORM_GCC_FLAGS_COMPILE_OBJC='-arch ppc -arch i386' @@ -71,7 +71,7 @@ case "$BUILD_SYSTEM" in useGccBuildTools ;; esac -case "$BUILD_SYSTEM" in +case "$HOST_SYSTEM" in Darwin) BUILDTOOL_REZ_NAME="MacOS X resource compiler (Rez)" BUILDTOOL_REZ_COMMAND='$PROG_Rez_FILE'