openbsd-ports/devel/acpica/patches/patch-compiler_Makefile

22 lines
669 B
Plaintext
Raw Normal View History

$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 = \