Skip to content
Snippets Groups Projects
Commit bfd364c8 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Disable "unused-result" warning in release builds

parent d07ae18a
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment