Commit bfd364c8 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Disable "unused-result" warning in release builds

parent d07ae18a
......@@ -442,7 +442,7 @@ ifdef DEBUG
else # RELEASE
# -finline-functions (used to) break the baja build badly.
# This also meant that -O3 wouldn't work either.
CFLAGS := -O3 -fomit-frame-pointer -ffast-math -funroll-loops $(CFLAGS)
CFLAGS := -O3 -Wno-unused-result -fomit-frame-pointer -ffast-math -funroll-loops $(CFLAGS)
endif
-include targets.mk
......
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