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 @@ the build system of the @code{lapack} package:
@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 @@ Befehlszeilenoption für configure mitzugeben. Zum Beispiel können Sie dem
@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 @@ un drapeau à @command{cmake}, le système de construction du logiciel
@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