diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-20 23:40:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-20 23:40:36 +0100 |
commit | e5ad31e2f784856506c28092166dc8704c84e868 (patch) | |
tree | c38949411bdf8555b2648276fd1f88c26b4544c8 /odk | |
parent | 585d5621f17f0e70ae5bd2ad0a855ba8490d3b25 (diff) |
Fix Mac OS X 64 bit SDK settings.mk
...to simply use Xcode clang++ (which implicitly uses libc++).
Change-Id: I02578f971e4abddfe74211046674bdcd23d7b279
Diffstat (limited to 'odk')
-rw-r--r-- | odk/settings/settings.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/odk/settings/settings.mk b/odk/settings/settings.mk index 9bc42f53c889..11537467e887 100644 --- a/odk/settings/settings.mk +++ b/odk/settings/settings.mk @@ -371,22 +371,30 @@ ifeq "$(PROCTYPE)" "x86" UNOPKG_PLATFORM=MacOSX_x86 else ifeq "$(PROCTYPE)" "x86_64" -UNOPKG_PLATFORM=MacOSX_x86 +UNOPKG_PLATFORM=MacOSX_x86_64 endif endif JAVABIN=Commands +ifeq "$(PROCTYPE)" "x86" GCC_VERSION =$(shell gcc -dumpversion| cut -d"." -f1,2) ifeq "$(GCC_VERSION)" "4.2" GCC_ARCH_OPTION=-arch i386 endif +endif OS=MACOSX PS=/ ICL=\$$ +ifeq "$(PROCTYPE)" "x86" CC=gcc-$(GCC_VERSION) LINK=g++-$(GCC_VERSION) LIB=g++-$(GCC_VERSION) +else +CC=clang++ +LINK=clang++ +LIB=clang++ +endif ECHO=@echo MKDIR=mkdir -p CAT=cat |