Merge "For the current MIPS compiler __builtin___clear_cache() generates synci instruction only with -msynci option So, add -msynci to all mips32r2 makefiles. Also add msynci to the list flags not recognized by clang."
This commit is contained in:
commit
5e12e60b47
|
@ -8,7 +8,8 @@ arch_variant_cflags := \
|
|||
-march=mips32r2 \
|
||||
-mtune=mips32r2 \
|
||||
-mips32r2 \
|
||||
-mhard-float
|
||||
-mhard-float \
|
||||
-msynci
|
||||
|
||||
arch_variant_ldflags := \
|
||||
-EL
|
||||
|
|
|
@ -6,7 +6,8 @@ arch_variant_cflags := \
|
|||
-march=mips32r2 \
|
||||
-mtune=mips32r2 \
|
||||
-mips32r2 \
|
||||
-msoft-float
|
||||
-msoft-float \
|
||||
-msynci
|
||||
|
||||
arch_variant_ldflags := \
|
||||
-EL
|
||||
|
|
|
@ -11,7 +11,8 @@ arch_variant_cflags := \
|
|||
-mtune=mips32r2 \
|
||||
-mips32r2 \
|
||||
-mhard-float \
|
||||
-mdsp
|
||||
-mdsp \
|
||||
-msynci
|
||||
|
||||
arch_variant_ldflags := \
|
||||
-EL
|
||||
|
|
|
@ -10,7 +10,8 @@ arch_variant_cflags := \
|
|||
-mtune=mips32r2 \
|
||||
-mips32r2 \
|
||||
-msoft-float \
|
||||
-mdsp
|
||||
-mdsp \
|
||||
-msynci
|
||||
|
||||
arch_variant_ldflags := \
|
||||
-EL
|
||||
|
|
|
@ -11,7 +11,8 @@ arch_variant_cflags := \
|
|||
-mtune=mips32r2 \
|
||||
-mips32r2 \
|
||||
-mhard-float \
|
||||
-mdspr2
|
||||
-mdspr2 \
|
||||
-msynci
|
||||
|
||||
arch_variant_ldflags := \
|
||||
-EL
|
||||
|
|
|
@ -10,7 +10,8 @@ arch_variant_cflags := \
|
|||
-mtune=mips32r2 \
|
||||
-mips32r2 \
|
||||
-msoft-float \
|
||||
-mdspr2
|
||||
-mdspr2 \
|
||||
-msynci
|
||||
|
||||
arch_variant_ldflags := \
|
||||
-EL
|
||||
|
|
|
@ -59,7 +59,8 @@ ifeq ($(TARGET_ARCH),mips)
|
|||
-march=mips32r2 \
|
||||
-mtune=mips32r2 \
|
||||
-march=mips32 \
|
||||
-mtune=mips32
|
||||
-mtune=mips32 \
|
||||
-msynci
|
||||
endif
|
||||
ifeq ($(TARGET_ARCH),x86)
|
||||
CLANG_CONFIG_EXTRA_CFLAGS += \
|
||||
|
|
Loading…
Reference in New Issue