summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <daniel@mariadb.org>2022-04-07 14:55:52 +1000
committerDaniel Black <daniel@mariadb.org>2022-04-07 16:05:02 +1000
commitdea4e178fe2bbefc08133de44513ba47cb2d8bf2 (patch)
tree8b6c83e71dc0f76497024fefe55a73a7da2c12d9
parent8990ffe62adce06001c4c950cfcc977a4d8ea4db (diff)
downloadmariadb-git-dea4e178fe2bbefc08133de44513ba47cb2d8bf2.tar.gz
deb: make --output-sync=target
Rather than Debian logs containing a barely decipherable mix of build command and the output of some other command, we use the make option --output-sync=target. This make the compile line and the output stay together in the output stream. This option exists even in the make version in debian;stretch so should work everywhere. Test on debian:stretch, ubuntu:18.04, the two lowest version that use the debian/rules.
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 967dfe9c434..57636eb028a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -108,7 +108,7 @@ override_dh_auto_build:
@echo "RULES.$@"
# Print build env info to help debug builds on different platforms
dpkg-architecture
- cd $(BUILDDIR) && $(MAKE)
+ cd $(BUILDDIR) && $(MAKE) --output-sync=target
override_dh_auto_test:
@echo "RULES.$@"