Commit 076d984d authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

Disable frame-address and nonnull-compare warnings

The latter only show up because of implicit non-null attributes that gcc assumes
for the string functions, leading to warnings for the assertions in those
functions. The latter relates to a known-safe use of builtin_frame_address.
parent c7c584f8
......@@ -33,7 +33,7 @@ endif
# Compiler and assembler invocation.
DEFINES =
WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wsystem-headers
CFLAGS = -g -msoft-float -O -march=i686 -std=gnu99
CFLAGS = -g -msoft-float -O -march=i686 -std=gnu99 -Wno-frame-address -Wno-nonnull-compare
CPPFLAGS = -nostdinc -I$(SRCDIR) -I$(SRCDIR)/lib
ASFLAGS = -Wa,--gstabs
LDFLAGS =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment