diff options
| author | Ying Wang <wangying@google.com> | 2012-09-12 15:34:44 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2012-09-12 15:34:44 -0700 |
| commit | fe223da25317da59bda88512e9e11e1d031d167c (patch) | |
| tree | d2f2adf57f9eef14133b094b416ed65c55884404 /lib/Target | |
| parent | eb3798310b913b022c09592204333ccdd90cd36b (diff) | |
| parent | 828ded66831c0caaeecd2291a6bfb084f373d0e4 (diff) | |
| download | external_llvm-fe223da25317da59bda88512e9e11e1d031d167c.zip external_llvm-fe223da25317da59bda88512e9e11e1d031d167c.tar.gz external_llvm-fe223da25317da59bda88512e9e11e1d031d167c.tar.bz2 | |
am 828ded66: Use O0 for the win_sdk build too
* commit '828ded66831c0caaeecd2291a6bfb084f373d0e4':
Use O0 for the win_sdk build too
Diffstat (limited to 'lib/Target')
| -rw-r--r-- | lib/Target/ARM/AsmParser/Android.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/ARM/AsmParser/Android.mk b/lib/Target/ARM/AsmParser/Android.mk index 105e463..5e64e27 100644 --- a/lib/Target/ARM/AsmParser/Android.mk +++ b/lib/Target/ARM/AsmParser/Android.mk @@ -34,9 +34,11 @@ TBLGEN_TD_DIR := $(arm_asm_parser_TBLGEN_TD_DIR) include $(LLVM_HOST_BUILD_MK) include $(LLVM_TBLGEN_RULES_MK) -ifeq (darwin,$(BUILD_OS)) +ifneq (,$(filter windows darwin,$(HOST_OS))) # Override the default optimization level to work around taking forever (~50m) -# to compile ARMAsmParser.cpp on Mac with gcc 4.2. +# to compile ARMAsmParser.cpp on Mac with gcc 4.2, +# or on Linux with mingw32msvc-gcc 4.2, which is used to cross-compile +# the win_sdk. LOCAL_CFLAGS += -O0 endif include $(BUILD_HOST_STATIC_LIBRARY) |
