acpica: prevent contrib code warnings

This commit is contained in:
Christian Helmuth 2019-07-18 13:57:34 +02:00
parent 83ead086a1
commit a7835650e8
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
INC_DIR += $(call select_from_ports,acpica)/src/lib/acpica/source/include
CC_OPT += -DACPI_INLINE=inline -Wno-unused-variable
CC_OPT += -DACPI_INLINE=inline -Wno-builtin-declaration-mismatch

View File

@ -19,7 +19,7 @@ SRC_CC += osl.cc iomem.cc pci.cc env.cc
include $(REP_DIR)/lib/import/import-acpica.mk
CC_C_OPT += -DACPI_LIBRARY
CC_C_OPT += -DACPI_LIBRARY -Wno-unused-variable -Wno-unused-but-set-variable -Wno-format-truncation
vpath %.c $(ACPICA_COMP)
vpath %.cc $(REP_DIR)/src/lib/acpica