Enable ASM language
authorAndrey Kvochko <a.kvochko@samsung.com>
Mon, 5 Jun 2017 09:41:18 +0000 (12:41 +0300)
committerAndrey Kvochko <a.kvochko@samsung.com>
Mon, 5 Jun 2017 09:41:18 +0000 (12:41 +0300)
CMakeLists.txt

index edcff25764f267c1b8ad0607a5361619d9ef2d73..082305811f1a822a1d3d24f6ab55b1101ef0edd6 100644 (file)
@@ -27,6 +27,9 @@ else ()
     clr_unknown_arch()
 endif ()
 
+enable_language(ASM)
+set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -Wa,--noexecstack")
+
 include(clrdefinitions.cmake)
 include(compileoptions.cmake)