Lines 1-6
Link Here
|
1 |
--- Makefile.orig 2017-05-06 12:36:12 UTC |
1 |
--- Makefile.orig 2017-05-18 12:29:44 UTC |
2 |
+++ Makefile |
2 |
+++ Makefile |
3 |
@@ -21,7 +21,7 @@ VERSION=0.08.00 |
3 |
@@ -21,7 +21,7 @@ VERSION=0.08.02 |
4 |
# Codename "harmful hardware harasser" |
4 |
# Codename "harmful hardware harasser" |
5 |
# |
5 |
# |
6 |
|
6 |
|
Lines 9-20
Link Here
|
9 |
|
9 |
|
10 |
# |
10 |
# |
11 |
# Pedantic flags |
11 |
# Pedantic flags |
12 |
@@ -783,7 +783,7 @@ stress-cpu.o: stress-cpu.c |
12 |
@@ -786,7 +786,7 @@ stress-cpu.o: stress-cpu.c |
13 |
@rm -f test-decimal.c test-decimal.o |
13 |
@rm -f test-decimal.c test-decimal.o |
14 |
|
14 |
|
15 |
perf.o: perf.c perf-event.c |
15 |
perf.o: perf.c perf-event.c |
16 |
- @gcc -E perf-event.c | grep "PERF_COUNT" | sed 's/,/ /' | awk {'print "#define _SNG_" $$1 " (1)"'} > perf-event.h |
16 |
- @gcc -E perf-event.c | grep "PERF_COUNT" | sed 's/,/ /' | awk {'print "#define _SNG_" $$1 " (1)"'} > perf-event.h |
17 |
+ @$(CC) -E perf-event.c | grep "PERF_COUNT" | sed 's/,/ /' | awk {'print "#define _SNG_" $$1 " (1)"'} > perf-event.h |
17 |
+ @$(CC) -E perf-event.c | grep "PERF_COUNT" | sed 's/,/ /' | awk {'print "#define _SNG_" $$1 " (1)"'} > perf-event.h |
18 |
$(CC) $(CFLAGS) -c -o $@ $< |
18 |
@echo $(CC) $(CFLAGS) -c -o $@ $< |
|
|
19 |
@$(CC) $(CFLAGS) -c -o $@ $< |
19 |
|
20 |
|
20 |
stress-wcstr.o: stress-wcstr.c |
|
|