~pali/llvm/compiler-rt-3.9

« back to all changes in this revision

Viewing changes to cmake/base-config-ix.cmake

  • Committer: mohit.bhakkad
  • Date: 2016-07-18 09:23:23 UTC
  • Revision ID: svn-v4:91177308-0d34-0410-b5e6-96231b3b80d8:compiler-rt/trunk:275780
[Compiler-rt][MIPS] Fix simple test failure when using gcc

Reviewers: dsanders

Subscribers: slthakur, jaydeep, llvm-commits, Sanitizers

Differential Revision: https://reviews.llvm.org/D22453

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
      # since the default ABI differs between gcc and clang.
149
149
      # FIXME: Ideally, we would build the N32 library too.
150
150
      test_target_arch(mipsel "" "-mips32r2" "--target=mipsel-linux-gnu")
151
 
      test_target_arch(mips64el "" "-mips64r2" "--target=mips64el-linux-gnu" "-mabi=n64")
 
151
      test_target_arch(mips64el "" "-mips64r2" "--target=mips64el-linux-gnu" "-mabi=64")
152
152
    elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "mips")
153
153
      test_target_arch(mips "" "-mips32r2" "--target=mips-linux-gnu")
154
 
      test_target_arch(mips64 "" "-mips64r2" "--target=mips64-linux-gnu" "-mabi=n64")
 
154
      test_target_arch(mips64 "" "-mips64r2" "--target=mips64-linux-gnu" "-mabi=64")
155
155
    elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "arm")
156
156
      test_target_arch(arm "" "-march=armv7-a" "-mfloat-abi=soft")
157
157
      test_target_arch(armhf "" "-march=armv7-a" "-mfloat-abi=hard")