mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
CONFIGURE: Disable -pedantic on raspberrypi target
Because of very noisy warnings from system headers using #include_next extension, and such.
This commit is contained in:
1 parent
5f70129eab
commit
f496ac611b
1 file changed
+9
@@ -2356,6 +2356,15 @@ if test "$have_gcc" = yes ; then
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
if test -n "$_host"; then
|
||||
case "$_host" in
|
||||
raspberrypi)
|
||||
pedantic=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
append_var CXXFLAGS "-W -Wno-unused-parameter"
|
||||
add_line_to_config_mk 'CXX_UPDATE_DEP_FLAG = -MMD -MF "$(*D)/$(DEPDIR)/$(*F).d" -MQ "$@" -MP'
|
||||
|
||||
|
||||
Reference in new issue
Block a user