summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-05-16 17:23:00 +0200
committerLudovic Courtès <ludo@gnu.org>2023-05-18 19:20:58 +0200
commitfddf97456c473b1231e08aea5e8096f42f2a63a8 (patch)
treeedd82f756a4099485d0d547b8e85d8d43aedfff3
parent5b700945fb0b33eec410de8979cae2fbf0d4f118 (diff)
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.
-rw-r--r--doc/guix.texi2
-rw-r--r--etc/news.scm6
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 60972f408d..5851af4092 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -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
diff --git a/etc/news.scm b/etc/news.scm
index f5dc3ca0d5..5045a40620 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -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