Make `clang-lto-link-osx` work on Linux (by forcing bash)
authorMatt Corallo <git@bluematt.me>
Fri, 2 Jun 2023 18:35:45 +0000 (18:35 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 2 Jun 2023 18:35:45 +0000 (18:35 +0000)
deterministic-build-wrappers/clang-lto-link-osx

index ae566d11c95f0746a4f4866edb95f4115d35c1ff..3fe275202c9d9ad7ac1d1f7c66521c73dd10037d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # We want to use rustc's -C linker-plugin-lto, but it passes several arguments
 # that are not understood by OSX clang/ld64.lld. Specifically, it passes
 # -plugin-opt* arguments to set optimization levels, which are not supported.