VirtualBox

source: vbox/trunk/src/VBox/Additions/3D/mesa/mesa-24.0.2/.gitlab-ci/build/compiler-wrapper.sh@ 105856

最後變更 在這個檔案從105856是 103996,由 vboxsync 提交於 11 月 前

Additions/3D/mesa: export mesa-24.0.2 to OSE. bugref:10606

檔案大小: 656 位元組
 
1# shellcheck disable=SC1091
2# shellcheck disable=SC2086 # we want word splitting
3if command -V ccache >/dev/null 2>/dev/null; then
4 CCACHE=ccache
5else
6 CCACHE=
7fi
8
9if echo "$@" | grep -E 'meson-private/tmp[^ /]*/testfile.c' >/dev/null; then
10 # Invoked for meson feature check
11 exec $CCACHE $_COMPILER "$@"
12fi
13
14if [ "$(eval printf "'%s'" "\"\${$(($#-1))}\"")" = "-c" ]; then
15 # Not invoked for linking
16 exec $CCACHE $_COMPILER "$@"
17fi
18
19# Compiler invoked by ninja for linking. Add -Werror to turn compiler warnings into errors
20# with LTO. (meson's werror should arguably do this, but meanwhile we need to)
21exec $CCACHE $_COMPILER "$@" -Werror
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette