doc: Change '--with-configure-flag' example to something that works.

Passing '-DBUILD_COMPLEX=OFF' to lapack would eventually lead to a link
error.

Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

* doc/guix.texi (Package Transformation Options): Change
'--with-configure-flag' example.
* etc/news.scm: Likewise.
This commit is contained in:
Ludovic Courtès 2023-05-16 17:23:00 +02:00
parent 5b700945fb
commit fddf97456c
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 4 additions and 4 deletions

View file

@ -12990,7 +12990,7 @@ builds @code{lapack}:
@example
guix build lapack \
--with-configure-flag=lapack=-DBUILD_COMPLEX=OFF
--with-configure-flag=lapack=-DBUILD_SHARED_LIBS=OFF
@end example
@quotation Note

View file

@ -39,7 +39,7 @@
@example
guix build lapack \\
--with-configure-flag=lapack=-DBUILD_COMPLEX=OFF
--with-configure-flag=lapack=-DBUILD_SHARED_LIBS=OFF
@end example
Run @command{info \"(guix) Package Transformation Options\"} for more info.")
@ -50,7 +50,7 @@
@example
guix build lapack \\
--with-configure-flag=lapack=-DBUILD_COMPLEX=OFF
--with-configure-flag=lapack=-DBUILD_SHARED_LIBS=OFF
@end example
Führen Sie für mehr Informationen @command{info \"(guix.de)
@ -63,7 +63,7 @@
@example
guix build lapack \\
--with-configure-flag=lapack=-DBUILD_COMPLEX=OFF
--with-configure-flag=lapack=-DBUILD_SHARED_LIBS=OFF
@end example
Voir @command{info \"(guix.fr) Options de transformation de paquets\"} pour