[pkg-d-commits] [ldc] 01/01: pass D_COMPILER_FLAGS

Konstantinos Margaritis markos at moszumanska.debian.org
Wed Oct 5 14:35:15 UTC 2016


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

markos pushed a commit to branch master
in repository ldc.

commit 4071f0e8d9376c5503dc55795902102167dbb72e
Author: Konstantinos Margaritis <markos at freevec.org>
Date:   Wed Oct 5 17:34:59 2016 +0300

    pass D_COMPILER_FLAGS
---
 runtime/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt
index 841e2f9..cb0f769 100644
--- a/runtime/CMakeLists.txt
+++ b/runtime/CMakeLists.txt
@@ -12,7 +12,7 @@ set(MULTILIB              OFF                                       CACHE BOOL
 set(BUILD_BC_LIBS         OFF                                       CACHE BOOL    "Build the runtime as LLVM bitcode libraries")
 set(INCLUDE_INSTALL_DIR   ${CMAKE_INSTALL_PREFIX}/include/d         CACHE PATH    "Path to install D modules to")
 set(BUILD_SHARED_LIBS     OFF                                       CACHE BOOL    "Whether to build the runtime as a shared library")
-set(D_FLAGS               -w                                        CACHE STRING  "Runtime build flags, separated by ;")
+set(D_FLAGS               ${D_COMPILER_FLAGS}                       CACHE STRING  "Runtime build flags, separated by ;")
 set(D_FLAGS_DEBUG         -g;-link-debuglib                         CACHE STRING  "Runtime build flags (debug libraries), separated by ;")
 set(D_FLAGS_RELEASE       -O3;-release                              CACHE STRING  "Runtime build flags (release libraries), separated by ;")
 if(MSVC)

-- 
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