am f562adc8
: Merge "Force use of compatibility compilers on Apple\'s command line tools"
* commit 'f562adc85f05b17c2c10993f3da07e61a7a24b74': Force use of compatibility compilers on Apple's command line tools
This commit is contained in:
committed by
Android Git Automerger
commit
8571ee478e
@@ -42,8 +42,18 @@ endif # build_mac_version is 10.6
|
|||||||
HOST_GLOBAL_CFLAGS += -fPIC
|
HOST_GLOBAL_CFLAGS += -fPIC
|
||||||
HOST_NO_UNDEFINED_LDFLAGS := -Wl,-undefined,error
|
HOST_NO_UNDEFINED_LDFLAGS := -Wl,-undefined,error
|
||||||
|
|
||||||
HOST_CC := $(CC)
|
GCC_REALPATH = $(realpath $(shell which gcc))
|
||||||
HOST_CXX := $(CXX)
|
ifneq ($(findstring llvm-gcc,$(GCC_REALPATH)),)
|
||||||
|
# Using LLVM GCC results in a non functional emulator due to it
|
||||||
|
# not honouring global register variables
|
||||||
|
$(warning ****************************************)
|
||||||
|
$(warning * gcc is linked to llvm-gcc which will *)
|
||||||
|
$(warning * not create a useable emulator. *)
|
||||||
|
$(warning ****************************************)
|
||||||
|
endif
|
||||||
|
|
||||||
|
HOST_CC := gcc
|
||||||
|
HOST_CXX := g++
|
||||||
HOST_AR := $(AR)
|
HOST_AR := $(AR)
|
||||||
HOST_STRIP := $(STRIP)
|
HOST_STRIP := $(STRIP)
|
||||||
HOST_STRIP_COMMAND = $(HOST_STRIP) --strip-debug $< -o $@
|
HOST_STRIP_COMMAND = $(HOST_STRIP) --strip-debug $< -o $@
|
||||||
|
Reference in New Issue
Block a user