diff options
author | James McCoy <jamessan@debian.org> | 2018-10-09 06:41:37 -0400 |
---|---|---|
committer | James McCoy <jamessan@debian.org> | 2018-10-19 22:02:32 -0400 |
commit | e5ada18bd36893545374fd004eb0923d35c9e897 (patch) | |
tree | f6da8027dab2e05d56bb607b6328aa8d89bdfb56 | |
parent | 55a2f27da4a983045c02f2be4384c8480bbcbb51 (diff) |
rules: Allow quiet builds when DEB_BUILD_OPTIONS=terse
Signed-off-by: James McCoy <jamessan@debian.org>
-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' |\ |