commit 391fa213472fa5b2e6750508ff69123738f23251
Author: Scott Kostyshak <[email protected]>
Date: Thu Jul 3 00:47:08 2025 +0200
lyxbuild: disable dev flags for non-master commits
---
development/lyx-tester/lyxbuild | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/development/lyx-tester/lyxbuild b/development/lyx-tester/lyxbuild
index cfbdb0f9b3..0a0871f241 100755
--- a/development/lyx-tester/lyxbuild
+++ b/development/lyx-tester/lyxbuild
@@ -557,8 +557,7 @@ else
HUNSPELL_FLAG="OFF"
fi
- # this commit is not the one that fixed it, it is just known to work.
- if git merge-base --is-ancestor "3aab9ad2" HEAD; then
+ if [ "${current_branch}" = "master" ]; then
# -Werror=dev turns CMake warnings into errors, but not all warnings. For
# example, cannot turn warnings about unused flags into errors:
#
https://stackoverflow.com/questions/42684572/how-to-make-cmake-exit-non-0-in-response-to-warning-manually-specified-variable
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs