[pkg-d-commits] [ldc] 188/211: CMake: Support multi-arg `-Wl, arg1, arg2, ...` in linker flags for D compiler

Matthias Klumpp mak at moszumanska.debian.org
Sun Apr 23 22:36:22 UTC 2017


This is an automated email from the git hooks/post-receive script.

mak pushed a commit to annotated tag v1.1.0
in repository ldc.

commit c5fe4628dc5c99c6b0e4975ab51beb1946f65058
Author: Martin <noone at nowhere.com>
Date:   Sun Dec 4 19:41:19 2016 +0100

    CMake: Support multi-arg `-Wl,arg1,arg2,...` in linker flags for D compiler
---
 CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d4b0270..c44137d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -569,7 +569,6 @@ else()
     # Use D compiler for linking, trying to translate a few common linker flags.
     set(LDC_TRANSLATED_LINKER_FLAGS "")
     foreach(f ${LDC_LINKERFLAG_LIST})
-        string(REPLACE "-Wl," "" f ${f})
         string(REPLACE "-LIBPATH:" "/LIBPATH:" f ${f})
         append("-L\"${f}\"" LDC_TRANSLATED_LINKER_FLAGS)
     endforeach()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git



More information about the pkg-d-commits mailing list