CMake/Modules/Platform/Linux-XL-C.cmake
Brad King af14f1f2c3 Remove GNU-specific flags from Linux.cmake
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.
2009-12-04 10:22:30 -05:00

2 lines
54 B
CMake

SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-qmkshrobj")