summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-05-02 11:25:42 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-05-02 11:26:22 -0400
commitcf080ec377461ca6fe2e0e9bb8b25ad63bda6bc6 (patch)
treedc00462661fb9b7c15cc7295de75f991918011ae
parent99260d347b91f9f7ede335b7f582cee34ead2b0c (diff)
downloadbfs-cf080ec377461ca6fe2e0e9bb8b25ad63bda6bc6.tar.xz
Prefer ./configure --enable-release to RELEASE=y
-rw-r--r--README.md2
-rw-r--r--bench/bench.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 922ebdc..b9aad82 100644
--- a/README.md
+++ b/README.md
@@ -343,7 +343,7 @@ Run the test suite to make sure it works correctly:
If you're interested in speed, you may want to build the release version instead:
- $ ./configure RELEASE=y
+ $ ./configure --enable-release
$ make
Finally, if you want to install it globally, run
diff --git a/bench/bench.sh b/bench/bench.sh
index ba46599..cf1ae49 100644
--- a/bench/bench.sh
+++ b/bench/bench.sh
@@ -221,7 +221,7 @@ setup() {
fi
echo "Building bfs ..."
- as-user ./configure RELEASE=y
+ as-user ./configure --enable-release
as-user make -s -j"$nproc" all
as-user mkdir -p bench/corpus
@@ -255,7 +255,7 @@ setup() {
cd "$worktree"
as-user git checkout -qd "$commit" --
if [ -e configure ]; then
- as-user ./configure RELEASE=1
+ as-user ./configure --enable-release
as-user make -s -j"$nproc"
else
as-user make -s -j"$nproc" release