ARM: Fix compile error for unw usage with clang-3.8
authorSaeHie Park <saehie.park@samsung.com>
Thu, 21 Apr 2016 02:27:52 +0000 (11:27 +0900)
committerSaeHie Park <saehie.park@samsung.com>
Sun, 24 Apr 2016 23:32:37 +0000 (08:32 +0900)
This fix is also needed when using clang-3.8
Previous related patch is #4260

src/pal/src/CMakeLists.txt

index 15dab11b9417533693ff57afb51e672c8a20859d..c339e6caa685a4b394acc94549841a899eb1b4a9 100644 (file)
@@ -91,9 +91,10 @@ elseif(PAL_CMAKE_PLATFORM_ARCH_ARM64)
   )
 endif()
 
-if(CLR_CMAKE_PLATFORM_UNIX_TARGET_ARM)
-set_source_files_properties(exception/seh.cpp PROPERTIES COMPILE_FLAGS -Wno-error=inline-asm)
-endif(CLR_CMAKE_PLATFORM_UNIX_TARGET_ARM)
+if(PAL_CMAKE_PLATFORM_ARCH_ARM)
+  set_source_files_properties(exception/seh.cpp PROPERTIES COMPILE_FLAGS -Wno-error=inline-asm)
+endif(PAL_CMAKE_PLATFORM_ARCH_ARM)
+
 set(SOURCES
   cruntime/file.cpp
   cruntime/filecrt.cpp