File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- main-snapshot-2025-04-12
1+ main-snapshot-2025-06-01
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ SWIFT_EXEC ?= $(shell if [ "$(shell uname)" = "Darwin" ]; then xcrun -f swift; e
22CLANG ?= $(shell if [ "$(shell uname) " = "Darwin" ]; then xcrun -f clang; else which clang; fi)
33LLVM_OBJCOPY ?= $(shell if [ "$(shell uname) " = "Darwin" ]; then xcrun -f llvm-objcopy; else which llvm-objcopy; fi)
44
5- BUILDROOT := $(shell $(SWIFT_EXEC ) build --triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector --show-bin-path)
5+ BUILDROOT := $(shell $(SWIFT_EXEC ) build --configuration release -- triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector --show-bin-path)
66
77.PHONY : all clean
88
@@ -21,7 +21,7 @@ kernel8.elf: $(BUILDROOT)/libMainApp.a $(BUILDROOT)/Support.build/boot.S.o link.
2121
2222$(BUILDROOT ) /libMainApp.a $(BUILDROOT ) /Support.build/boot.S.o :
2323 @echo " 🛠️ Building with Swift Package Manager..."
24- $(SWIFT_EXEC ) build --triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector
24+ $(SWIFT_EXEC ) build --configuration release -- triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector
2525 @echo " "
2626
2727clean :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ SWIFT_EXEC ?= $(shell if [ "$(shell uname)" = "Darwin" ]; then xcrun -f swift; e
22CLANG ?= $(shell if [ "$(shell uname) " = "Darwin" ]; then xcrun -f clang; else which clang; fi)
33LLVM_OBJCOPY ?= $(shell if [ "$(shell uname) " = "Darwin" ]; then xcrun -f llvm-objcopy; else which llvm-objcopy; fi)
44
5- BUILDROOT := $(shell $(SWIFT_EXEC ) build --triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector --show-bin-path)
5+ BUILDROOT := $(shell $(SWIFT_EXEC ) build --configuration release -- triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector --show-bin-path)
66
77.PHONY : all clean
88
@@ -21,7 +21,7 @@ kernel8.elf: $(BUILDROOT)/libMainApp.a $(BUILDROOT)/Support.build/boot.S.o link.
2121
2222$(BUILDROOT ) /libMainApp.a $(BUILDROOT ) /Support.build/boot.S.o :
2323 @echo " 🛠️ Building with Swift Package Manager..."
24- $(SWIFT_EXEC ) build --triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector
24+ $(SWIFT_EXEC ) build --configuration release -- triple aarch64-none-none-elf -Xswiftc -Xfrontend -Xswiftc -disable-stack-protector
2525 @echo " "
2626
2727clean :
You can’t perform that action at this time.
0 commit comments