add lto and debug symbols so we can generate the .dSYM (#376)

* add lto and debug symbols so we can generate the .DSYM

* add lto and debug symbols so we can generate the .DSYM

* fix pythonplayer moment
This commit is contained in:
junepark678 authored and GitHub committed 2023-03-23 22:13:21 +08:00
1 parent d72e95fccc
commit b360e8dd02
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -52,6 +52,9 @@ OBJECTS += usb_iokit.o
else
LIBS += -framework SystemConfiguration -framework Security
endif
# add lto and debug symbols for lto
CFLAGS += -flto=full -g
LDFLAGS += -Wl,-object_path_lto,lto.o
else
USE_LIBUSB = 1
endif