← Back to team overview

openjdk team mailing list archive

Bug#912211: openjdk-11: Add support for DEB_BUILD_OPTIONS=terse

 

Source: openjdk-11
Severity: wishlist
Tags: patch

Since the Debian Policy 4.2.0 the new "terse" build option can be used to have
less verbose build logs. I suggested supporting it in openjdk-11 with the
following change to debian/rules:

--- a/debian/rules
+++ b/debian/rules
@@ -328,7 +328,9 @@ ifeq (,$(filter $(DEB_HOST_ARCH), $(hotspot_archs)))
   CONFIGURE_ARGS += --enable-zero
 endif

-EXTRA_BUILD_ENV += MAKE_VERBOSE=y QUIETLY= LOG=debug
+ifneq (,$(filter $(DEB_BUILD_OPTIONS), terse))
+  EXTRA_BUILD_ENV += MAKE_VERBOSE=y QUIETLY= LOG=debug
+endif

 # timestamp skew on kFreeBSD
 EXTRA_BUILD_ENV += IGNORE_OLD_CONFIG=true