[Scummvm-git-logs] scummvm master -> 46b59213cae47934c664cb15b5cb9952212f60c4
dwatteau
noreply at scummvm.org
Sun Aug 11 15:16:39 UTC 2024
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
f496ac611b CONFIGURE: Disable -pedantic on raspberrypi target
46b59213ca CONFIGURE: MACOSX: Don't print any error if xcode-select doesn't exist
Commit: f496ac611b2eaa3aa084ecef0ebdc2169fecbb2b
https://github.com/scummvm/scummvm/commit/f496ac611b2eaa3aa084ecef0ebdc2169fecbb2b
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2024-08-11T17:15:54+02:00
Commit Message:
CONFIGURE: Disable -pedantic on raspberrypi target
Because of very noisy warnings from system headers using #include_next
extension, and such.
Changed paths:
configure
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'
Commit: 46b59213cae47934c664cb15b5cb9952212f60c4
https://github.com/scummvm/scummvm/commit/46b59213cae47934c664cb15b5cb9952212f60c4
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2024-08-11T17:15:54+02:00
Commit Message:
CONFIGURE: MACOSX: Don't print any error if xcode-select doesn't exist
Happens e.g. with the toolchains/macosx-x86_64 toolchain.
Changed paths:
configure
diff --git a/configure b/configure
index d754893211d..0e5221babdd 100755
--- a/configure
+++ b/configure
@@ -3030,11 +3030,15 @@ case $_host_os in
# If _xcodetoolspath is not set yet use xcode-select to get the path
if test -z "$_xcodetoolspath"; then
- _xcodetoolspath=`xcode-select -print-path`/Tools
- if test -d "$_xcodetoolspath"; then
- echo "Set xcodetools-path to ${_xcodetoolspath}"
- else
- _xcodetoolspath=
+ _xcodetoolspath=
+ if command -v xcode-select >/dev/null 2>&1; then
+ _xcodetoolspath=`xcode-select -print-path`/Tools
+ if test -d "$_xcodetoolspath"; then
+ echo "Set xcodetools-path to ${_xcodetoolspath}"
+ fi
+ fi
+
+ if test -z "$_xcodetoolspath"; then
echo "Could not determine path for Xcode Tools"
fi
fi
More information about the Scummvm-git-logs
mailing list