2017-07-01 02:43:00 +02:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
|
|
index 336bbdbc..4b9e8c88 100644
|
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
|
|
|
@@ -591,7 +591,8 @@ if(UNIX AND (CMAKE_COMPILER_IS_GNUCXX OR (${CMAKE_CXX_COMPILER_ID} STREQUAL "Cla
|
|
|
|
message(FATAL_ERROR "GDMD currently not supported due to http://bugzilla.gdcproject.org/show_bug.cgi?id=232.")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
- include(ExtractDMDSystemLinker)
|
|
|
|
+ #include(ExtractDMDSystemLinker)
|
2018-08-20 19:21:27 +02:00
|
|
|
+ set(D_LINKER_ARGS "-fuse-ld=bfd;-Lldc-build-runtime.tmp/lib;-lphobos2-ldc;-ldruntime-ldc;-Wl,--gc-sections")
|
2017-07-01 02:43:00 +02:00
|
|
|
message(STATUS "Host D compiler linker program: ${D_LINKER_COMMAND}")
|
|
|
|
message(STATUS "Host D compiler linker flags: ${D_LINKER_ARGS}")
|
|
|
|
list(APPEND LDC_LINKERFLAG_LIST ${D_LINKER_ARGS})
|