Skip to content

Commit

Permalink
Use ld_classic for Xcode builds of ish+linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tbodt committed Oct 27, 2024
1 parent 49ab71e commit a4d0281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Linux.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ ISH_KERNEL = linux
NINJA_TARGETS = deps/liblinux.a libfakefs.a libish_emu.a
LINUX_HOSTCC = env -u SDKROOT -u IPHONEOS_DEPLOYMENT_TARGET xcrun clang
GCC_PREPROCESSOR_DEFINITIONS = ISH_LINUX=1
LINUX_APP_LDFLAGS = -sectalign __DATA __percpu_first 1000 -sectalign __DATA __tracepoints 20 -force_load $(BUILT_PRODUCTS_DIR)/liblinux.a -force_load $(BUILT_PRODUCTS_DIR)/libiSHLinux.a
LINUX_APP_LDFLAGS = -Wl,-ld_classic -sectalign __DATA __percpu_first 1000 -sectalign __DATA __tracepoints 20 -force_load $(BUILT_PRODUCTS_DIR)/liblinux.a -force_load $(BUILT_PRODUCTS_DIR)/libiSHLinux.a

0 comments on commit a4d0281

Please sign in to comment.