texlive[75072] Build/source: do not ignore original CFLAGS, etc.

commits+karl at tug.org commits+karl at tug.org
Wed Apr 30 22:41:35 CEST 2025


Revision: 75072
          https://tug.org/svn/texlive?view=revision&revision=75072
Author:   karl
Date:     2025-04-30 22:41:35 +0200 (Wed, 30 Apr 2025)
Log Message:
-----------
do not ignore original CFLAGS, etc.

Modified Paths:
--------------
    trunk/Build/source/Build
    trunk/Build/source/ChangeLog

Modified: trunk/Build/source/Build
===================================================================
--- trunk/Build/source/Build	2025-04-30 20:36:41 UTC (rev 75071)
+++ trunk/Build/source/Build	2025-04-30 20:41:35 UTC (rev 75072)
@@ -85,9 +85,10 @@
 # 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
+c="CFLAGS='$TL_COMPILER_GFLAGS $TL_CFLAGS $CFLAGS'"
+cxx="CXXFLAGS='$TL_COMPILER_GFLAGS $TL_CXXFLAGS $CXXFLAGS'"
+objcxx="OBJCXXFLAGS='$TL_COMPILER_GFLAGS $TL_OBJCXXFLAGS $OBJCXXFLAGS'"
+  # objcxx is only used on macs.
 TL_BUILD_ENV="$c $cxx $objcxx $TL_BUILD_ENV"
 
 # allow for changing the banner identification, e.g.,

Modified: trunk/Build/source/ChangeLog
===================================================================
--- trunk/Build/source/ChangeLog	2025-04-30 20:36:41 UTC (rev 75071)
+++ trunk/Build/source/ChangeLog	2025-04-30 20:41:35 UTC (rev 75072)
@@ -1,3 +1,8 @@
+2025-04-30  Karl Berry  <karl at freefriends.org>
+
+	* Build: incorporate original CFLAGS, CXXFLAGS, OBJCXXFLAGS values.
+	https://tug.org/pipermail/tlbuild/2025q2/005771.html
+
 2025-04-29  Karl Berry  <karl at freefriends.org>
 
 	* Build: use TL_CFLAGS, TL_CXXFLAGS, etc., for TL_BUILD_ENV



More information about the tex-live-commits mailing list.