trivial: Refresh patch
Matthias Klumpp
3 years ago
4 | 4 | +++ b/CMakeLists.txt |
5 | 5 | @@ -157,7 +157,7 @@ |
6 | 6 | set(LDMD_EXE_NAME ${PROGRAM_PREFIX}${LDMD_EXE}${PROGRAM_SUFFIX}) |
7 | ||
7 | ||
8 | 8 | # Setup D compiler flags (DMD syntax, which also works with LDMD). |
9 | 9 | -set(DFLAGS_BASE "-wi") |
10 | +set(DFLAGS_BASE "-wi -fPIC") | |
10 | +set(DFLAGS_BASE "-wi" "-fPIC") | |
11 | 11 | set(DFLAGS_BUILD_TYPE "") # DFLAGS derived from CMAKE_BUILD_TYPE |
12 | 12 | if(NOT MSVC_IDE) |
13 | 13 | # for multi-config builds, these options have to be added later to the custom command |