From 891b2aa2b1c65ff157a840c3462fa6d007f2dac9 Mon Sep 17 00:00:00 2001 From: Sergiy Kuryata Date: Thu, 14 Jan 2016 12:40:37 -0800 Subject: Enable the fPIE compiler option for executables in the coreclr repo on Unix platforms --- src/ildasm/exe/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ildasm') diff --git a/src/ildasm/exe/CMakeLists.txt b/src/ildasm/exe/CMakeLists.txt index 84c9d2a242..7d86bf48c8 100644 --- a/src/ildasm/exe/CMakeLists.txt +++ b/src/ildasm/exe/CMakeLists.txt @@ -10,6 +10,7 @@ add_definitions(-DFEATURE_CORECLR) include_directories(..) if(CLR_CMAKE_PLATFORM_UNIX) + add_compile_options(-fPIE) include_directories(../unixcoreclrloader) build_resources(${CMAKE_CURRENT_SOURCE_DIR}/../dasm.rc dasm_rc TARGET_CPP_FILE) -- cgit v1.2.3