2022-07-14 12:49:19 +00:00
|
|
|
needsTarget=true
|
|
|
|
|
|
|
|
for p in "${params[@]}"; do
|
|
|
|
case "$p" in
|
|
|
|
-target | --target=*) needsTarget=false ;;
|
|
|
|
esac
|
|
|
|
done
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
if $needsTarget && [[ $0 != *cpp ]]; then
|
2024-07-27 06:49:29 +00:00
|
|
|
extraBefore+=(-target @defaultTarget@ @machineFlags@)
|
2022-07-14 12:49:19 +00:00
|
|
|
fi
|