diff --git a/configure b/configure index 3f777e8c5bc..d754893211d 100755 --- a/configure +++ b/configure @@ -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'