summary refs log tree commit diff
path: root/etc
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 /etc
parent5b700945fb0b33eec410de8979cae2fbf0d4f118 (diff)
downloadguix-fddf97456c473b1231e08aea5e8096f42f2a63a8.tar.gz
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/news.scm6
1 files changed, 3 insertions, 3 deletions
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