]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
"VERBOSE=1 make" does NOT mean "give us thousands of lines of garbage"
authorAlan T. DeKok <aland@freeradius.org>
Sun, 14 Dec 2025 14:01:39 +0000 (09:01 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 14 Dec 2025 14:14:12 +0000 (09:14 -0500)
We want to see the commands that "make" is running.  We do NOT want
to see thousands of lines of the same output from jlibtool about
its build flags.

scripts/libtool.mk

index ad31a7ff69cdfb605b46fbaa2028a134c60ba6cd..e2bec208f91876dd360ac06dab650fbd83617b1d 100644 (file)
@@ -101,7 +101,19 @@ clean.libs:
 
 # Re-define compilers and linkers
 #
-LIBTOOL_VERBOSE=$(if ${VERBOSE},--debug,--silent)
+
+#
+#  VERBOSE=1 means "debug the commands that we're running".
+#  VERBOSE=2 means "also debug the jlibtool internals".
+#
+#  For normal VERBOSE=1, we do NOT want to see thousands of lines of
+#  the same content of jlibtool environment variables.
+#
+ifeq "$(VERBOSE)" "2"
+LIBTOOL_VERBOSE=--debug
+else
+LIBTOOL_VERBOSE=--silent
+endif
 
 OBJ_EXT = lo