[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#37870] [PATCH v2] gnu: make-nsis: Fix cross-compilation.
From: |
Ludovic Courtès |
Subject: |
[bug#37870] [PATCH v2] gnu: make-nsis: Fix cross-compilation. |
Date: |
Mon, 04 Nov 2019 23:11:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi,
Efraim Flashner <address@hidden> skribis:
> On Tue, Oct 29, 2019 at 04:02:01PM +0000, Carl Dong wrote:
>> Updated the patch to make it look a little better :-)
>> Will push to master tomorrow if no objections.
[...]
>> + (setenv "CROSS_CPLUS_INCLUDE_PATH"
>> + (string-join
>> + `(,@(map (cut string-append (assoc-ref
>> %build-inputs "xgcc") <>)
>> + `("/include/c++"
>> + ,(string-append "/include/c++/"
>> ,triplet)
>> + "/include/c++/backward"
>> +
>> "/lib/gcc/x86_64-w64-mingw32/7.4.0/include"
>> +
>> "/lib/gcc/x86_64-w64-mingw32/7.4.0/include-fixed"))
> I'm going to suggest not hardcoding 7.4.0 here
Agreed. I guess you could extract the version number by calling
‘package-version’ on the dependency or something like that (on the
“host side”).
Thanks,
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#37870] [PATCH v2] gnu: make-nsis: Fix cross-compilation.,
Ludovic Courtès <=