From 11ab003b3aa3c7a11ae9f63946e9730c8dfab5d9 Mon Sep 17 00:00:00 2001 From: hsc Date: Mon, 17 Apr 2017 17:33:17 +0200 Subject: TinyCC: Support ENABLE_EXPORT property Replace the default -Wl,--export-dynamic with -rdynamic. --- Modules/Platform/Linux-TinyCC-C.cmake | 1 + 1 file changed, 1 insertion(+) 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 ") -- cgit v0.12