Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion pkgs/build-support/cc-wrapper/add-clang-cc-cflags-before.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ needsTarget=true

for p in "${params[@]}"; do
case "$p" in
-target | --target=*) needsTarget=false ;;
-target | --target=*)
needsTarget=false

echo "Warning: supplying the --target argument to a nix-wrapped compiler may not work correctly - cc-wrapper is currently not designed with multi-target compilers in mind. You may want to use an un-wrapped compiler instead." >&2
;;
esac
done

Expand Down