summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.housekeeping6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index 61a9cf07..658b84b6 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -461,8 +461,10 @@ CFLAGS += -g
ifeq ($(CCTYPE),gcc)
CFLAGS += -ffreestanding
CFLAGS += -fcommon
-CFLAGS += -Wall -W -Wformat-nonliteral -Wno-array-bounds
-HOST_CFLAGS += -Wall -W -Wformat-nonliteral -Wno-array-bounds
+CFLAGS += -Wall -W -Wformat-nonliteral
+CFLAGS += -Wno-array-bounds -Wno-dangling-pointer
+HOST_CFLAGS += -Wall -W -Wformat-nonliteral
+HOST_CFLAGS += -Wno-array-bounds -Wno-dangling-pointer
endif
CFLAGS += $(WORKAROUND_CFLAGS) $(EXTRA_CFLAGS)
ASFLAGS += $(WORKAROUND_ASFLAGS) $(EXTRA_ASFLAGS)