diff options
author | James McCoy <jamessan@debian.org> | 2018-10-09 06:41:37 -0400 |
---|---|---|
committer | James McCoy <jamessan@debian.org> | 2019-01-20 14:54:55 -0500 |
commit | 6b4e9e857cba9fa93190fb2668bddf0d58d58072 (patch) | |
tree | b3ca097ea55c808b857f96f53096335ba0d7039f /debian | |
parent | 68082cc55cbc2525adc42d15d9ce2161ccad4b4d (diff) |
rules: Allow quiet builds when DEB_BUILD_OPTIONS=terse
Signed-off-by: James McCoy <jamessan@debian.org>
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index b260aa9..b226a5a 100755 --- a/debian/rules +++ b/debian/rules @@ -46,6 +46,10 @@ $(foreach o, $(d_b_o), \ $(foreach o, $(filter NO_%,$(d_b_o)), $(eval DEB_OPT_$(subst NO_,WITH_,$o) :=)) $(if $(DEB_OPT_PARALLEL),$(eval MAKEFLAGS += -j$(DEB_OPT_PARALLEL))) +ifndef DEB_OPT_TERSE + MAKE_B += LTFLAGS="--tag=CC" LTCXXFLAGS="--tag=CXX" +endif + # How to fix "#!/usr/bin/env " lines: $(call fix_shebangs_in, /your/dir) fix_shebangs_in = \ find $1 -type f | xargs -r egrep -m1 -c '^\#! ?/' | sed -n 's/:1//p' |\ |