diff options
Diffstat (limited to 'testing/farbfeld/gcc6-fixes.patch')
-rw-r--r-- | testing/farbfeld/gcc6-fixes.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/testing/farbfeld/gcc6-fixes.patch b/testing/farbfeld/gcc6-fixes.patch index 33aa9fd9a6..6cd8a287be 100644 --- a/testing/farbfeld/gcc6-fixes.patch +++ b/testing/farbfeld/gcc6-fixes.patch @@ -1,12 +1,12 @@ -diff -upr farbfeld-2.orig/Makefile farbfeld-2/Makefile ---- farbfeld-2.orig/Makefile 2016-12-02 18:23:51.647145080 +0100 -+++ farbfeld-2/Makefile 2016-12-02 18:24:19.977222457 +0100 -@@ -11,7 +11,7 @@ all: png2ff ff2png jpg2ff +diff -upr farbfeld-3.orig/Makefile farbfeld-3/Makefile +--- farbfeld-3.orig/Makefile 2017-04-15 11:29:09.298371171 +0200 ++++ farbfeld-3/Makefile 2017-04-15 11:30:24.244786006 +0200 +@@ -23,7 +23,7 @@ $(BIN): $(REQ:=.o) + $(BIN:=.o): config.mk $(HDR) $(REQ:=.h) - .c: - @echo CC $< -- @${CC} -o $@ ${CFLAGS} ${LIBS} ${LDFLAGS} $< -+ @${CC} $< -o $@ ${CFLAGS} ${LIBS} ${LDFLAGS} + .o: +- $(CC) $(LDFLAGS) $($*-LDFLAGS) -o $@ $< $(REQ:=.o) ++ $(CC) $< $(REQ:=.o) -o $@ $(LDFLAGS) $($*-LDFLAGS) clean: - @echo cleaning + rm -f $(BIN) $(BIN:=.o) $(REQ:=.o) |