mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
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