diff options
author | 2023-06-05 18:14:34 -0700 | |
---|---|---|
committer | 2023-06-05 18:14:44 -0700 | |
commit | ec71e7afe49d5110f3c9d0eba8e49ea22a549e41 (patch) | |
tree | 956b0c1a740b0416a0702004b6cf3bd1f885de69 | |
parent | 17bca62df10008b2d252d5b63bd9b028e9fcd1c0 (diff) | |
download | bun-ec71e7afe49d5110f3c9d0eba8e49ea22a549e41.tar.gz bun-ec71e7afe49d5110f3c9d0eba8e49ea22a549e41.tar.zst bun-ec71e7afe49d5110f3c9d0eba8e49ea22a549e41.zip |
Rename `bun-link-lld-debug` to `link`
-rw-r--r-- | Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1085,7 +1085,7 @@ dev-obj-linux: $(ZIG) build obj -Dtarget=x86_64-linux-gnu -Dcpu="$(CPU_TARGET)" .PHONY: dev -dev: mkdir-dev esm dev-obj bun-link-lld-debug +dev: mkdir-dev esm dev-obj link mkdir-dev: mkdir -p $(DEBUG_PACKAGE_DIR) @@ -1356,15 +1356,21 @@ mimalloc-wasm: cd $(BUN_DEPS_DIR)/mimalloc; emcmake cmake -DMI_BUILD_SHARED=OFF -DMI_BUILD_STATIC=ON -DMI_BUILD_TESTS=OFF -DMI_BUILD_OBJECT=ON ${MIMALLOC_OVERRIDE_FLAG} -DMI_USE_CXX=ON .; emmake make; cp $(BUN_DEPS_DIR)/mimalloc/$(MIMALLOC_INPUT_PATH) $(BUN_DEPS_OUT_DIR)/$(MIMALLOC_FILE).wasm -bun-link-lld-debug: +# alias for link, incase anyone still types that +.PHONY: bun-link-lld-debug +bun-link-lld-debug: link + +# link a debug build of bun +.PHONY: link +link: $(CXX) $(BUN_LLD_FLAGS_DEBUG) $(DEBUG_FLAGS) $(SYMBOLS) \ -g \ $(DEBUG_BIN)/bun-debug.o \ -W \ -o $(DEBUG_BIN)/bun-debug - @rm -f $(DEBUG_BIN)/bun-debug.o.o 2> /dev/null # workaround for https://github.com/ziglang/zig/issues/14080 + @rm -f $(DEBUG_BIN)/bun-debug.o.o 2> /dev/null # workaround for https://github.com/ziglang/zig/issues/14080 -bun-link-lld-debug-no-jsc: +link-no-jsc: $(CXX) $(BUN_LLD_FLAGS_WITHOUT_JSC) $(SYMBOLS) \ -g \ $(DEBUG_BIN)/bun-debug.o \ |