diff --git a/repos/libports/lib/import/import-acpica.mk b/repos/libports/lib/import/import-acpica.mk index 939e30492f..fe90c1b962 100644 --- a/repos/libports/lib/import/import-acpica.mk +++ b/repos/libports/lib/import/import-acpica.mk @@ -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 diff --git a/repos/libports/lib/mk/acpica.mk b/repos/libports/lib/mk/acpica.mk index e53f7454f7..7f53a45ba7 100644 --- a/repos/libports/lib/mk/acpica.mk +++ b/repos/libports/lib/mk/acpica.mk @@ -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