Revert "[CMake] Fix the value of `config.target_cflags` for non-macOS Apple"
authorDan Liew <dan@su-root.co.uk>
Fri, 26 Apr 2019 17:53:25 +0000 (17:53 +0000)
committerDan Liew <dan@su-root.co.uk>
Fri, 26 Apr 2019 17:53:25 +0000 (17:53 +0000)
commit18bc87240545858cded2d00e453a0d6ce92ea91e
tree44bcf0c8fae05c53fa6811a17130875c7bba7e26
parentef54b1dddf440daa55bb33ccb54f47518df08406
Revert "[CMake] Fix the value of `config.target_cflags` for non-macOS Apple"

This reverts commit 1bcdbd68616dc7f8debe126caafef7a7242a0e6b.

It's been reported that some bots are failing with this change with CMake
error like:

```
CMake Error at /b/s/w/ir/k/llvm-project/compiler-rt/cmake/config-ix.cmake:177 (message):
  Unsupported architecture: arm64
Call Stack (most recent call first):
  /b/s/w/ir/k/llvm-project/compiler-rt/cmake/config-ix.cmake:216 (get_target_flags_for_arch)
  /b/s/w/ir/k/llvm-project/compiler-rt/test/tsan/CMakeLists.txt:78 (get_test_cflags_for_apple_platform)
```

I'm reverting the patch now to unbreak builds. I will investigate properly when time permits.

rdar://problem/50124489

llvm-svn: 359327
compiler-rt/cmake/config-ix.cmake
compiler-rt/test/asan/CMakeLists.txt
compiler-rt/test/fuzzer/CMakeLists.txt
compiler-rt/test/tsan/CMakeLists.txt
compiler-rt/test/ubsan/CMakeLists.txt