diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-10-09 08:58:33 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-10-09 08:58:33 (GMT) |
commit | d0faa58a51114a97f3af6a951b6c4052ca19c9ee (patch) | |
tree | f5c49fc88b7324ce0345b96a32478fbaf9c6bf47 /Modules/Platform/Darwin.cmake | |
parent | 785bfae867de0ad18463d618d45b4ae8c2712934 (diff) | |
download | CMake-d0faa58a51114a97f3af6a951b6c4052ca19c9ee.zip CMake-d0faa58a51114a97f3af6a951b6c4052ca19c9ee.tar.gz CMake-d0faa58a51114a97f3af6a951b6c4052ca19c9ee.tar.bz2 |
Makefiles: Remove forbidden flag logic
This might have been needed some day in the past, but not anymore.
Diffstat (limited to 'Modules/Platform/Darwin.cmake')
-rw-r--r-- | Modules/Platform/Darwin.cmake | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake index bb085ac..c09bac4 100644 --- a/Modules/Platform/Darwin.cmake +++ b/Modules/Platform/Darwin.cmake @@ -105,8 +105,6 @@ if("${_CURRENT_OSX_VERSION}" VERSION_LESS "10.5") set(CMAKE_LINK_DEPENDENT_LIBRARY_FILES 1) endif() -set(CMAKE_C_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS -w) -set(CMAKE_CXX_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS -w) set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <LANGUAGE_COMPILE_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> <LINK_FLAGS> -o <TARGET> <SONAME_FLAG> <TARGET_INSTALLNAME_DIR><TARGET_SONAME> <OBJECTS> <LINK_LIBRARIES>") set(CMAKE_CXX_CREATE_SHARED_LIBRARY |