diff options
author | 2021-12-18 20:33:47 -0800 | |
---|---|---|
committer | 2021-12-18 20:33:47 -0800 | |
commit | b8af8a1af069cc86a05169b79b307b69c49f77af (patch) | |
tree | 2e6096e66ede09f5f01274d45c36b2681d6e0f29 | |
parent | 06c79cffaee94bdfa844ff9165ea950367138603 (diff) | |
download | bun-b8af8a1af069cc86a05169b79b307b69c49f77af.tar.gz bun-b8af8a1af069cc86a05169b79b307b69c49f77af.tar.zst bun-b8af8a1af069cc86a05169b79b307b69c49f77af.zip |
Update Makefile
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -38,8 +38,10 @@ ZIG ?= $(shell which zig || echo -e "error: Missing zig. Please make sure zig is # We must use the same compiler version for the JavaScriptCore bindings and JavaScriptCore # If we don't do this, strange memory allocation failures occur. # This is easier to happen than you'd expect. -CC = $(realpath $(shell which clang-12 || which clang)) -CXX = $(realpath $(shell which clang++-12 || which clang++)) +# Using realpath here causes issues because clang uses clang++ as a symlink +# so if that's resolved, it won't build for C++ +CC = $(shell which clang-12 || which clang) +CXX = $(shell which clang++-12 || which clang++) # macOS sed is different SED = $(shell which gsed || which sed) |