openbsd-ports/devel/acpica/patches/patch-compiler_Makefile
sthen 74ad9f1738 update to 20110316 which is able to disassemble aml from the
acer 5820tg without segfaulting.

"I don't remember what possessed me to claim maintainer of this
in the first place.  feel free to remove me :)" phessler@
2011-04-05 08:02:25 +00:00

22 lines
669 B
Plaintext

$OpenBSD: patch-compiler_Makefile,v 1.2 2011/04/05 08:02:25 sthen Exp $
--- compiler/Makefile.orig Wed Mar 16 16:28:15 2011
+++ compiler/Makefile Mon Apr 4 23:34:05 2011
@@ -12,7 +12,7 @@ ACPICA_TOOLS = $(ACPICA_SRC)/tools
ACPICA_OSL = $(ACPICA_SRC)/os_specific/service_layers
NOMAN= YES
-CFLAGS+= -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../include -I../compiler
+CFLAGS+= -Wall -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../include -I../compiler
#
# Bison/Flex configuration
@@ -25,7 +25,7 @@ LFLAGS+= -i -s -PAslCompiler
COMPILE = $(CC) -c $(CFLAGS) -o$@ $?
-LDFLAGS += -lpthread -lrt
+LDFLAGS += -pthread
OBJS = \