projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
894d162
)
Add linker magic to non-Windows standalone RyuJIT build to make PAL work better when...
author
Bruce Forstall
<brucefo@microsoft.com>
Sat, 27 Feb 2016 01:40:23 +0000
(17:40 -0800)
committer
Bruce Forstall
<brucefo@microsoft.com>
Sat, 27 Feb 2016 03:24:31 +0000
(19:24 -0800)
src/jit/standalone/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/jit/standalone/CMakeLists.txt
b/src/jit/standalone/CMakeLists.txt
index
b0b2a02
..
ba987b4
100644
(file)
--- a/
src/jit/standalone/CMakeLists.txt
+++ b/
src/jit/standalone/CMakeLists.txt
@@
-4,6
+4,11
@@
add_definitions(-DSELF_NO_HOST)
add_definitions(-DFEATURE_READYTORUN_COMPILER)
remove_definitions(-DFEATURE_MERGE_JIT_AND_ENGINE)
+if(CLR_CMAKE_PLATFORM_LINUX OR CLR_CMAKE_PLATFORM_NETBSD)
+ # This is required to force using our own PAL, not one that we are loaded with.
+ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Xlinker -Bsymbolic -Bsymbolic-functions")
+endif(CLR_CMAKE_PLATFORM_LINUX OR CLR_CMAKE_PLATFORM_NETBSD)
+
add_library_clr(ryujit
SHARED
${SHARED_LIB_SOURCES}