Skip to content

Commit

Permalink
Clean up some shell scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jeaye committed Jul 18, 2024
1 parent 8d92171 commit f5a092c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions compiler+runtime/bin/build-pch
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

set -euo pipefail

here="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

clang_prefix="${1}"
include="${2}"
output="${3:-${include}/cpp/jank/prelude.hpp.pch}"
Expand All @@ -12,9 +10,8 @@ shift
shift
flags=$*

# shellcheck disable=SC2086
"${clang_prefix}"/bin/clang++ \
${flags[@]} \
# shellcheck disable=SC2086,SC2068
"${clang_prefix}"/bin/clang++ ${flags[@]} \
-Xclang -fincremental-extensions \
-Xclang -emit-pch \
-x c++-header \
Expand Down

0 comments on commit f5a092c

Please sign in to comment.