Package: exactimage / 1.0.2-1

Enforce-simple-verbose-build-for-blhc.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
From: Sven Eckelmann <sven@narfation.org>
Date: Thu, 9 May 2013 19:04:19 +0200
Subject: Enforce simple verbose build for blhc

The Debian build log analyzer gets confused by the extra output belonging to
the quiet build. Removing them and enforcing verbose builds removes these
false positives and increases the effectiveness of blhc

Forwarded: not-needed
---
 build/bottom.make | 11 +----------
 build/kde.make    |  1 -
 build/top.make    |  1 -
 3 files changed, 1 insertion(+), 12 deletions(-)

diff --git a/build/bottom.make b/build/bottom.make
index afc2d82..eeea57b 100644
--- a/build/bottom.make
+++ b/build/bottom.make
@@ -23,7 +23,7 @@ endif
 
 # rules
 
-Q = @
+Q = 
 
 ifneq ($(X_BUILD_IMPLICIT),0)
 ifneq ($(X_NO_INSTALL),1)
@@ -42,45 +42,36 @@ endif
 $(X_MODULE): $($(X_MODULE)_BINARY)
 
 $($(X_MODULE)_OUTPUT)/%.o: $(X_MODULE)/%.c
-	@echo '  C         $@'
 	$(Q)$(COMPILE.c) $($(dir $@)CFLAGS) -MMD -MP -MF '$(patsubst %.o,%.d,$@)' -o '$@' '$<'
 
 $($(X_MODULE)_OUTPUT)/%.o: $(X_MODULE)/%.m
-	@echo '  ObjC      $@'
 	$(Q)$(COMPILE.c) $($(dir $@)CFLAGS) -MMD -MP -MF '$(patsubst %.o,%.d,$@)' -o '$@' '$<'
 
 $($(X_MODULE)_OUTPUT)/%.o: $($(X_MODULE)_OUTPUT)/%.cc
-	@echo '  C++       $@'
 	$(Q)$(COMPILE.cc) $($(dir $@)CXXFLAGS) -MMD -MP -MF '$(patsubst %.o,%.d,$@)' -o '$@' '$<'
 
 $($(X_MODULE)_OUTPUT)/%.o: $(X_MODULE)/%.cc
-	@echo '  C++       $@'
 	$(Q)$(COMPILE.cc) $($(dir $@)CXXFLAGS) -MMD -MP -MF '$(patsubst %.o,%.d,$@)' -o '$@' '$<'
 
 $($(X_MODULE)_OUTPUT)/%.o: $(X_MODULE)/%.mm
-	@echo '  ObjC++    $@'
 	$(Q)$(COMPILE.cc) $($(dir $@)CXXFLAGS) -MMD -MP -MF '$(patsubst %.o,%.d,$@)' -o '$@' '$<'
 
 # only implicit rules if one binary per module ...
 ifeq ($(words $(BINARY)), 1)
 
 $($(X_MODULE)_OUTPUT)/$(BINARY)$(X_LIBEXT): $($(X_MODULE)_OBJS)
-	@echo '  LINK LIB  $@'
 	$(Q)$(LD) -r -o '$@' $^
 #	# no AR anymore due to static initilizers
 #	$(Q)$(AR) r '$@' $^ 2> /dev/null
 #	$(Q)$(RANLIB) '$@'
 
 $($(X_MODULE)_OUTPUT)/$(BINARY)$(X_DYNEXT): $($(X_MODULE)_OBJS)
-	@echo '  LINK DYN  $@'
 	$(Q)$(CXX) $(CXXFLAGS) $(CPPFLAGS) $($(dir $@)CXXFLAGS) $(TARGET_ARCH) $(X_DYNFLAGS) -o '$@' $^ $(LDFLAGS) $($(dir $@)LDFLAGS)
 
 $($(X_MODULE)_OUTPUT)/$(BINARY)$(X_EXEEXT): $($(X_MODULE)_OBJS)
-	@echo '  LINK EXEC $@'
 	$(Q)$(CXX) $(CXXFLAGS) $(CPPFLAGS) $($(dir $@)CXXFLAGS) $(TARGET_ARCH) $(X_EXEFLAGS) -o '$@' $^ $(LDFLAGS) $($(dir $@)LDFLAGS)
 
 endif
 
 $($(X_MODULE)_OUTPUT)/%$(X_EXEEXT): $($(X_MODULE)_OUTPUT)/%.o $(DEPS)
-	@echo '  LINK EXEC $@'
 	$(Q)$(CXX) $(CXXFLAGS) $(CPPFLAGS) $($(dir $@)CXXFLAGS) $(TARGET_ARCH) $(X_EXEFLAGS) -o '$@' $^ $(LDFLAGS) $($(dir $@)LDFLAGS)
diff --git a/build/kde.make b/build/kde.make
index cf7ef8d..efb0d8f 100644
--- a/build/kde.make
+++ b/build/kde.make
@@ -5,6 +5,5 @@ MOCS := $(filter-out $(NOT_MOCS), $(notdir $(wildcard $(X_MODULE)/*.hh)))
 SRCS := $(SRCS) $(addsuffix .moc.cc, $(basename $(MOCS)))
 
 $($(X_MODULE)_OUTPUT)/%.moc.cc: $(X_MODULE)/%.hh
-	@echo '  MOC       $@'
 	$(Q)moc $< > $@
 
diff --git a/build/top.make b/build/top.make
index 588580c..1c81102 100644
--- a/build/top.make
+++ b/build/top.make
@@ -44,7 +44,6 @@ ifndef X_ALREADYLOADED
 X_ALREADYLOADED = 1
 .PHONY: clean
 clean::
-	@echo "CLEANING $(X_OUTARCH)"
 	$(Q)rm -rf $(X_OUTARCH)
 
 .SUFFIXES: