texlive[75052] Build/source: use TL_CFLAGS etc.
commits+karl at tug.org
commits+karl at tug.org
Tue Apr 29 19:38:33 CEST 2025
Revision: 75052
https://tug.org/svn/texlive?view=revision&revision=75052
Author: karl
Date: 2025-04-29 19:38:33 +0200 (Tue, 29 Apr 2025)
Log Message:
-----------
use TL_CFLAGS etc. if -g is not given
Modified Paths:
--------------
trunk/Build/source/Build
trunk/Build/source/ChangeLog
Modified: trunk/Build/source/Build
===================================================================
--- trunk/Build/source/Build 2025-04-29 17:06:38 UTC (rev 75051)
+++ trunk/Build/source/Build 2025-04-29 17:38:33 UTC (rev 75052)
@@ -68,8 +68,6 @@
# The idea is that with Build -g, you can set TL_COMPILER_GFLAGS in
# the environment with options common to all compilers --
# not necessarily anything to do with debugging, e.g., -mcpu=sparvc9.
- # Or you can set TL_{C,CXX,OBJCXX}FLAGS for per-language flags,
- # notably TL_CFLAGS=-Wdeclaration-after-statement.
#
# See https://tug.org/texlive/build.html for some discussion.
#
@@ -82,12 +80,15 @@
exit 1
fi
export TL_COMPILER_CFLAGS
- #
- c="CFLAGS='$TL_COMPILER_GFLAGS $TL_CFLAGS'"
- cxx="CXXFLAGS='$TL_COMPILER_GFLAGS $TL_CXXFLAGS'"
- objcxx="OBJCXXFLAGS='$TL_COMPILER_GFLAGS $TL_OBJCXXFLAGS'" # only for macs
- TL_BUILD_ENV="$c $cxx $objcxx $TL_BUILD_ENV"
fi
+#
+# You can also set TL_{C,CXX,OBJCXX}FLAGS for per-language flags,
+# notably TL_CFLAGS=-Wdeclaration-after-statement to help Akira.
+#
+c="CFLAGS='$TL_COMPILER_GFLAGS $TL_CFLAGS'"
+cxx="CXXFLAGS='$TL_COMPILER_GFLAGS $TL_CXXFLAGS'"
+objcxx="OBJCXXFLAGS='$TL_COMPILER_GFLAGS $TL_OBJCXXFLAGS'" # only for macs
+TL_BUILD_ENV="$c $cxx $objcxx $TL_BUILD_ENV"
# allow for changing the banner identification, e.g.,
# --with-banner-add='/SomeDistro'; see the build doc.
Modified: trunk/Build/source/ChangeLog
===================================================================
--- trunk/Build/source/ChangeLog 2025-04-29 17:06:38 UTC (rev 75051)
+++ trunk/Build/source/ChangeLog 2025-04-29 17:38:33 UTC (rev 75052)
@@ -1,3 +1,8 @@
+2025-04-29 Karl Berry <karl at freefriends.org>
+
+ * Build: use TL_CFLAGS, TL_CXXFLAGS, etc., for TL_BUILD_ENV
+ if -g is not given.
+
2025-03-08 Karl Berry <karl at tug.org>
* version.ac: 2026/dev.
More information about the tex-live-commits
mailing list.