guix-patches
[Top][All Lists]
Advanced

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

[bug#64845] [PATCH] gnu: fcode-utils: Fix cross-compilation.


From: Maxime Devos
Subject: [bug#64845] [PATCH] gnu: fcode-utils: Fix cross-compilation.
Date: Wed, 26 Jul 2023 14:34:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

I happened upon this patch ...

setting STRIP to (strip-for-target) in #:make-flags (like done for CC) would fix this in a simpler way.

Also, that (string-append "DESTDIR=" #$output)) is bogus; it's a bug (*) in the Makefiles that it used $(DESTIDIR) instead of $(DESTDIR)$(PREFIX).

install:
        mkdir -p $(DESTDIR)/bin
        cp $(PROGRAM) $(DESTDIR)/bin/$(PROGRAM)

(*) https://people.freebsd.org/~rodrigc/doc/data/doc/en_US.ISO8859-1/books/porters-handbook/porting-prefix.html

Attachment: OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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