cc-wrapper: exclude clang flags when cpp
This commit is contained in:
parent
b204bd7963
commit
3c6127cf01
@ -6,6 +6,6 @@ for p in "${params[@]}"; do
|
||||
esac
|
||||
done
|
||||
|
||||
if $needsTarget; then
|
||||
if $needsTarget && [[ $0 != *cpp ]]; then
|
||||
extraBefore+=(-target @defaultTarget@ @machineFlags@)
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user