forked from openkylin/platform_build
Add -fPIC as default Clang mips ASFLAGS.
For mips target, gcc passes -KPIC to assembler by default, but clang passes -KPIC only if -fPIC or -fpic is given. BUG: 17895505 Change-Id: I7803adaf8ad7b40c6473872b67f4e0b4c502b38a
This commit is contained in:
parent
8330c4c5e6
commit
ce6300a5db
|
@ -9,6 +9,7 @@ CLANG_CONFIG_mips_TARGET_EXTRA_ASFLAGS := \
|
|||
$(CLANG_CONFIG_EXTRA_ASFLAGS) \
|
||||
$(CLANG_CONFIG_TARGET_EXTRA_ASFLAGS) \
|
||||
$(CLANG_CONFIG_mips_EXTRA_ASFLAGS) \
|
||||
-fPIC \
|
||||
-target $(CLANG_CONFIG_mips_TARGET_TRIPLE) \
|
||||
-B$(CLANG_CONFIG_mips_TARGET_TOOLCHAIN_PREFIX)
|
||||
|
||||
|
|
Loading…
Reference in New Issue