gentoo-ebuilds/dev-games/godot/files/godot-4.4-scons.patch
Ionen Wolkens 66ddfc5233
dev-games/godot: add 4.4
Use system miniupnpc again wrt bug #934044, and can also use
mbedtls:3 properly now (while it *can* still use mbedtls:0,
force :3 for simplicity with the slotting logic).

platform/linuxbsd.detect.py newly prints a warning when using
system icu4c or harfbuzz that it may cause problems, but issue
seems nebulous and unclear if we're affected and opted to ignore
it for now (aka, keep using system's).

Hopefully not overlooked anything, build system diff has a lot
of noise making it hard to pickup important changes.

Bug: https://bugs.gentoo.org/934044
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2025-03-03 21:45:18 -05:00

15 lines
489 B
Diff

--- a/SConstruct
+++ b/SConstruct
@@ -274,2 +274,3 @@
opts.Add("CC", "C compiler binary")
+opts.Add("AR", "Archiver")
opts.Add("LINK", "Linker binary")
@@ -749,8 +750,2 @@
env.Append(CCFLAGS=[f"-ffile-prefix-map={project_path}=."])
- else:
- if methods.is_apple_clang(env):
- # Apple Clang, its linker doesn't like -s.
- env.Append(LINKFLAGS=["-Wl,-S", "-Wl,-x", "-Wl,-dead_strip"])
- else:
- env.Append(LINKFLAGS=["-s"])