aboutsummaryrefslogtreecommitdiffstats
path: root/community/farbfeld/gcc6-fixes.patch
blob: 6cd8a287bedbc5bfe41b67abed0b5f14f54406d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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)
 
 .o:
-	$(CC) $(LDFLAGS) $($*-LDFLAGS) -o $@ $< $(REQ:=.o)
+	$(CC) $< $(REQ:=.o) -o $@ $(LDFLAGS) $($*-LDFLAGS)
 
 clean:
 	rm -f $(BIN) $(BIN:=.o) $(REQ:=.o)