Codebase list ldc / 314f560
trivial: Refresh patch Matthias Klumpp 3 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
44 +++ b/CMakeLists.txt
55 @@ -157,7 +157,7 @@
66 set(LDMD_EXE_NAME ${PROGRAM_PREFIX}${LDMD_EXE}${PROGRAM_SUFFIX})
7
7
88 # Setup D compiler flags (DMD syntax, which also works with LDMD).
99 -set(DFLAGS_BASE "-wi")
10 +set(DFLAGS_BASE "-wi -fPIC")
10 +set(DFLAGS_BASE "-wi" "-fPIC")
1111 set(DFLAGS_BUILD_TYPE "") # DFLAGS derived from CMAKE_BUILD_TYPE
1212 if(NOT MSVC_IDE)
1313 # for multi-config builds, these options have to be added later to the custom command