Package list tigr-glimmer / 538ef86
added patch to reinforce Makefiles error checking This is to address issues found by Helmut Grohne in #960294. Etienne Mollier 1 year, 6 months ago
3 changed file(s) with 58 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 tigr-glimmer (3.02b-4) UNRELEASED; urgency=medium
1
2 * Team upload.
3 * Reinforce Makefiles error checking. Closes: #960294
4
5 -- Etienne Mollier <etienne.mollier@mailoo.org>
6
07 tigr-glimmer (3.02b-3) unstable; urgency=medium
18
29 [ Steffen Möller ]
0 --- tigr-glimmer.orig/src/c_make.gen
1 +++ tigr-glimmer/src/c_make.gen
2 @@ -314,7 +314,8 @@
3 #### *.c
4 $(C_OBJECTS): %.o: %.c
5 @ echo "@@@@@@@@@@@@@@@@@@@ " $< "@@@@@@@@@@@@@@@@@@@@@";
6 - @ if [ -e $(notdir $<) ] ; then \
7 + @ set -e ; \
8 + if [ -e $(notdir $<) ] ; then \
9 $(CC) $(CPPFLAGS) $(CDEFS) $(CFLAGS) -c \
10 $(INC_DIRS) -o $(LOCAL_OBJ)/$*.o $< ; \
11 else \
12 @@ -325,7 +326,8 @@
13 #### *.cc
14 $(CXX_OBJECTS_CC): %.o: %.cc
15 @ echo "@@@@@@@@@@@@@@@@@@@ " $< "@@@@@@@@@@@@@@@@@@@@@";
16 - @ if [ -e $(notdir $<) ] ; then \
17 + @ set -e ; \
18 + if [ -e $(notdir $<) ] ; then \
19 $(CXX) $(CPPFLAGS) $(CXXDEFS) $(CXXFLAGS) -c \
20 $(INC_DIRS) -o $(LOCAL_OBJ)/$*.o $< ; \
21 else \
22 @@ -336,7 +338,8 @@
23 #### *.C
24 $(CXX_OBJECTS_C): %.o: %.C
25 @ echo "@@@@@@@@@@@@@@@@@@@ " $< "@@@@@@@@@@@@@@@@@@@@@";
26 - @ if [ -e $(notdir $<) ] ; then \
27 + @ set -e ; \
28 + if [ -e $(notdir $<) ] ; then \
29 $(CXX) $(CPPFLAGS) $(CXXDEFS) $(CXXFLAGS) -c \
30 $(INC_DIRS) -o $(LOCAL_OBJ)/$*.o $< ; \
31 else \
32 @@ -355,7 +358,8 @@
33
34 $(PROGS):
35 @ echo "++++++++++++++++++++ " $@ "++++++++++++++++++++++";
36 - @ if [ -z "$(filter $(CXX_OBJECTS), $(notdir $+))" ] ; then \
37 + @ set -e ; \
38 + if [ -z "$(filter $(CXX_OBJECTS), $(notdir $+))" ] ; then \
39 cd $(LOCAL_OBJ); \
40 if $(CC) -o $(LOCAL_BIN)/$(notdir $@) $(LDFLAGS) \
41 $(LD_DIRS) $(filter-out lib%.a, $+) \
42 @@ -415,6 +419,7 @@
43 # The following recurses the subdirectories that exist
44 define dosubdirs
45 echo "* Make Target is " $(TGT);
46 +set -e ; \
47 for i in $(SUBDIRS);\
48 do \
49 if [ -d $$i ]; then \
00 10_gcc4.3.patch
11
22 mayhem.patch
3 make-errs.patch