3 ifneq ($(TARGET
),ANDROID
)
13 DEPFLAGS
= -MD
-MF
$(DEPFILE
) -MT
$@
15 ifeq ($(DEBUG
)$(LLVM
)$(LTO
),nny
)
16 AR
+= --plugin
/usr
/local
/lib
/LLVMgold.so
19 ifeq ($(USE_CCACHE
),y
)
20 # ccache will not use the optimisation of avoiding the 2nd call to the
21 # pre-processor by compiling the pre-processed output that was used for
22 # finding the hash in the case of a cache miss.
23 CCACHE
:= export CCACHE_CPP2
=yes
&& $(CCACHE
)
26 ifeq ($(TARGET
),ANDROID
)
27 TARGET_ARCH
:= $(filter-out -mthumb-interwork
,$(TARGET_ARCH
))
28 TARGET_ARCH
+= -gcc-toolchain
$(ANDROID_GCC_TOOLCHAIN
)
29 TARGET_ARCH
+= -target
$(LLVM_TRIPLE
)
30 TARGET_CPPFLAGS
+= -DBIONIC
-DLIBCPP_NO_IOSTREAM
33 ifeq ($(TARGET_IS_PI
),y
)
34 TARGET_LLVM_FLAGS
= -march
=arm
-mcpu
=arm1136jf-s
-mattr
=+vfp2
-float-abi
=hard \
35 -enable-no-infs-fp-math
-enable-no-nans-fp-math
-enable-unsafe-fp-math
36 TARGET_ARCH
:= -target armv6-none-linux-gnueabihf
-mfloat-abi
=hard
-mfpu
=vfp
-integrated-as
39 ifeq ($(HOST_IS_PI
)$(TARGET_IS_PI
),ny
)
40 TARGET_CPPFLAGS
+= -isystem
/opt
/pi
/root
/usr
/include/c
++/4.6
41 TARGET_CPPFLAGS
+= -isystem
/opt
/pi
/root
/usr
/include/c
++/4.6/arm-linux-gnueabihf
42 TARGET_LDFLAGS
+= -L
$(PI
)/usr
/lib
/gcc
/arm-linux-gnueabihf
/4.6