guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dmd] 01/01: build: Support cross-compilation.


From: Ludovic Courtès
Subject: [dmd] 01/01: build: Support cross-compilation.
Date: Fri, 11 Jul 2014 08:14:38 +0000

civodul pushed a commit to branch master
in repository dmd.

commit bc00ce01834b5091dafecc6a4733303baedb06d7
Author: David Michael <address@hidden>
Date:   Tue Jul 8 22:05:36 2014 -0400

    build: Support cross-compilation.
    
    * Makefile.am (%.go): Specify the target platform.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 3329382..8e075bc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -115,7 +115,8 @@ modules/dmd/config.scm: modules/dmd/config.scm.in Makefile
 %.go: %.scm $(templates:%.in=%)
        $(MKDIR_P) "`dirname "$@"`"
        LC_ALL=C                                        \
-       $(GUILD) compile -L "$(top_builddir)/modules"   \
+       $(GUILD) compile --target="$(host)"             \
+         -L "$(top_builddir)/modules"                  \
          -L "$(top_srcdir)/modules"                    \
          -Wformat -Wunbound-variable -Warity-mismatch  \
          -o "$@" "$<"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]