1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-24 17:16:18 +00:00
Lakka-LibreELEC/packages/emulation/libretro-dosbox-pure/patches/dosbox_pure-Makefile-optimization_and_libs.patch
2023-04-10 16:12:06 +02:00

29 lines
960 B
Diff

diff -Naur dosbox_pure-4fdb557e415698aae5bd90b076f76437f5e9b0b4/Makefile dosbox_pure-4fdb557e415698aae5bd90b076f76437f5e9b0b4-2/Makefile
--- dosbox_pure-4fdb557e415698aae5bd90b076f76437f5e9b0b4/Makefile 2022-12-13 22:22:26.391256258 +0100
+++ dosbox_pure-4fdb557e415698aae5bd90b076f76437f5e9b0b4-2/Makefile 2022-12-13 22:38:22.894452324 +0100
@@ -201,9 +201,9 @@
ifeq ($(platform),vita)
CFLAGS := -DNDEBUG -O3 -fno-ident -fno-partial-inlining
else
- CFLAGS := -DNDEBUG -O2 -fno-ident
+ CFLAGS := -DNDEBUG -O3 -fno-ident
endif
- LDFLAGS += -O2
+ LDFLAGS += -O3 -fno-ident
endif
CFLAGS += $(CPUFLAGS) -std=gnu++11 -fomit-frame-pointer -fexceptions -Wno-address-of-packed-member -Wno-format -Wno-switch -Wno-psabi
@@ -245,9 +245,9 @@
else
$(info Linking $@ ...)
$(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)
-ifneq ($(BUILD),DEBUG)
- $(STRIPCMD) $@
-endif
+#ifneq ($(BUILD),DEBUG)
+# $(STRIPCMD) $@
+#endif
endif
define COMPILE