Add -DARM_SOFTFP inside compileoptions.cmake (#5630)
authorJonghyun Park <parjong@gmail.com>
Thu, 9 Jun 2016 09:30:52 +0000 (18:30 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Thu, 9 Jun 2016 09:30:52 +0000 (11:30 +0200)
commit1bb2e3e73db2defbd1187bbb551f943fd67bb412
tree09d40b40d74b2d8e292057e430bc5476994209a8
parent6287c789b95e5a32100e09d97c568363f4d2d791
Add -DARM_SOFTFP inside compileoptions.cmake (#5630)

Currently, '-DARM_SOFTFP' is added inside jit/CMakeList.txt and
vm/CMakeLists.txt, and thus the header definition might be inconsistent
across each componenet.

This inconsistency results in some strange behavior discussed in #5629.

This commit tries to enforce the consistent definition of '-DARM_SOFTFP'
for every component via definiing it inside compileoptions.cmake in order
to fix #5629.
compileoptions.cmake
src/jit/CMakeLists.txt
src/vm/CMakeLists.txt