Home | History | Annotate | Download | only in clang
      1 # Clang flags for x86 arch, target or host.
      2 
      3 CLANG_CONFIG_x86_EXTRA_ASFLAGS := \
      4   -msse3
      5 CLANG_CONFIG_x86_EXTRA_CFLAGS :=
      6 CLANG_CONFIG_x86_EXTRA_LDFLAGS :=
      7 
      8 # Include common unknown flags
      9 CLANG_CONFIG_x86_UNKNOWN_CFLAGS := \
     10   $(CLANG_CONFIG_UNKNOWN_CFLAGS) \
     11   -finline-limit=300 \
     12   -fno-inline-functions-called-once \
     13   -mfpmath=sse \
     14   -mbionic
     15 
     16 # We don't have any x86 flags to substitute yet.
     17 define subst-clang-incompatible-x86-flags
     18   $(1)
     19 endef
     20