aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/i7z/files/patch-Makefile
blob: 0a9c66878d1e44fc03aec384682d202854513d19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- ./Makefile.orig 2012-09-11 08:15:54.000000000 +0200
+++ ./Makefile  2012-12-11 14:41:28.000000000 +0100
@@ -4,11 +4,7 @@
 
 #makefile updated from patch by anestling
 
-#explicitly disable two scheduling flags as they cause segfaults, two more seem to crash the GUI version so putting them
-#here 
-CFLAGS_FOR_AVOIDING_SEG_FAULT = -fno-schedule-insns2  -fno-schedule-insns -fno-inline-small-functions -fno-caller-saves
-CFLAGS ?= -O3
-CFLAGS += $(CFLAGS_FOR_AVOIDING_SEG_FAULT) -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wimplicit-function-declaration
+CFLAGS += -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN
 
 LBITS := $(shell getconf LONG_BIT)
 ifeq ($(LBITS),64)
@@ -48,7 +44,7 @@
 #  $(CC) $(CFLAGS) $(LDFLAGS) -o $(PERFMON-BIN) perfmon-i7z.c helper_functions.c $(LIBS)
 
 test_exist: bin
-   @test -f i7z && echo 'Succeeded, now run sudo ./i7z' || echo 'Compilation failed'
+   @true
 
 clean:
    rm -f *.o $(BIN)