1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/sysutils/i7z/files/patch-Makefile
2012-12-11 13:45:36 +00:00

25 lines
930 B
Plaintext

--- ./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)