mirror of
https://github.com/reactos/CMake.git
synced 2024-12-01 15:30:40 +00:00
af14f1f2c3
We remove the shared library compile/link flags "-fPIC" and "-shared" because they are not provided by all compilers on Linux. This allows us to drop code from the Linux-XL-*.cmake files that erases the bad flags. All other supported compilers already provide their correct flags for Linux in their own platform information files.
2 lines
54 B
CMake
2 lines
54 B
CMake
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-qmkshrobj")
|