diff options
author | hsc <kevin.patrick.schmidt@googlemail.com> | 2017-04-17 15:33:17 (GMT) |
---|---|---|
committer | hsc <kevin.patrick.schmidt@googlemail.com> | 2017-04-17 15:34:52 (GMT) |
commit | 11ab003b3aa3c7a11ae9f63946e9730c8dfab5d9 (patch) | |
tree | e8cfd705cbbc936794c9f6d6695e0e55366946d6 /Modules | |
parent | be2c45f2a98d69cc9952b592777bb506f69149a2 (diff) | |
download | CMake-11ab003b3aa3c7a11ae9f63946e9730c8dfab5d9.zip CMake-11ab003b3aa3c7a11ae9f63946e9730c8dfab5d9.tar.gz CMake-11ab003b3aa3c7a11ae9f63946e9730c8dfab5d9.tar.bz2 |
TinyCC: Support ENABLE_EXPORT property
Replace the default -Wl,--export-dynamic with -rdynamic.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/Linux-TinyCC-C.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Linux-TinyCC-C.cmake b/Modules/Platform/Linux-TinyCC-C.cmake index f78e708..9409d8b 100644 --- a/Modules/Platform/Linux-TinyCC-C.cmake +++ b/Modules/Platform/Linux-TinyCC-C.cmake @@ -2,3 +2,4 @@ set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP "") set(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG "") set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-soname ") +set(CMAKE_EXE_EXPORTS_C_FLAG "-rdynamic ") |