diff options
author | Josh Haberman <jhaberman@gmail.com> | 2018-09-06 18:10:45 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2018-09-06 18:10:45 -0700 |
commit | 340bd013380f23eeb3aadd6d1eb0209c5fe7312e (patch) | |
tree | 26e11ecb0f79cf5fc2365d435a99fec0058a6787 /CMakeLists.txt | |
parent | 3d511104acf016e1cd3ca9352193c5aeb00d4aa4 (diff) |
Removed default instance and oneof array from tables.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b068e0..18286e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,10 @@ cmake_minimum_required (VERSION 3.0) cmake_policy(SET CMP0048 NEW) project (upb) +# Prevent CMake from setting -rdynamic on Linux (!!). +SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") +SET(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "") + # Options we define for users. option(UPB_ENABLE_ASAN "Enable address sanitizer." OFF) option(UPB_ENABLE_UBSAN "Enable undefined behavior sanitizer." OFF) |