From cbdc1298953b03bc18875d346c715fa07d20efa4 Mon Sep 17 00:00:00 2001 From: John Koleszar Date: Fri, 24 Sep 2010 11:39:27 -0400 Subject: [PATCH] darwin-icc: build for specific SDKs Add the missing -isysroot and -mmacosx-version-min flags to ICC builds. Fixes issue #185. Change-Id: I2fb37fcaaafef7122a61ced603569f4aa17f8bbc --- build/make/configure.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/make/configure.sh b/build/make/configure.sh index 86759a9..cfac539 100755 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -567,13 +567,13 @@ process_common_toolchain() { # Handle darwin variants case ${toolchain} in - *-darwin8-gcc) + *-darwin8-*) add_cflags "-isysroot /Developer/SDKs/MacOSX10.4u.sdk" add_cflags "-mmacosx-version-min=10.4" add_ldflags "-isysroot /Developer/SDKs/MacOSX10.4u.sdk" add_ldflags "-mmacosx-version-min=10.4" ;; - *-darwin9-gcc) + *-darwin9-*) add_cflags "-isysroot /Developer/SDKs/MacOSX10.5.sdk" add_cflags "-mmacosx-version-min=10.5" add_ldflags "-isysroot /Developer/SDKs/MacOSX10.5.sdk" -- 2.7.4