OSDN Git Service

Use the same compilation flags on OS X 10.8 as 10.7
authorAl Sutton <al@funkyandroid.com>
Mon, 7 May 2012 08:33:34 +0000 (09:33 +0100)
committerAl Sutton <al@funkyandroid.com>
Mon, 7 May 2012 08:44:28 +0000 (09:44 +0100)
Added Mountain Lion to the list of versions which don't need ranlib
and don't need the pre-Lion linker flags

Change-Id: I0c785f0c66e324af9a209520c5a5b3c9bf7df0d5
Signed-off-by: Al Sutton <al@funkyandroid.com>
core/combo/HOST_darwin-x86.mk

index 2a120d9..aeb91c2 100644 (file)
@@ -63,7 +63,7 @@ HOST_JNILIB_SUFFIX := .jnilib
 
 HOST_GLOBAL_CFLAGS += \
        -include $(call select-android-config-h,darwin-x86)
-ifneq ($(filter 10.7.%, $(build_mac_version)),)
+ifneq ($(filter 10.7 10.7.% 10.8 10.8.%, $(build_mac_version)),)
        HOST_RUN_RANLIB_AFTER_COPYING := false
 else
        HOST_RUN_RANLIB_AFTER_COPYING := true