mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-10 15:19:09 +02:00
Decent odds that overlooked something given many mundane changes were done to the build system and it makes it hard to make out the important changes by diff'ing. Changelog is also too long to read (really), and highlights are not aimed at packagers. Notably adds wayland support, albeit building gui without X doesn't work so well yet. As such not adding IUSE="X" yet. libdecor could be optional even with USE=wayland, but felt that it isn't worth its own USE. Note using system miniupnpc is still broken without patching, so leaving that alone for now. Attempted to use mbedtls-3.x given it bundles 3.6.0, but there is some caveats that prevent it (see ebuild comment). It still supports 2.x, so just going to keep the upper bound for now. Have not tested musl but the old patch should be obsolete thanks to the new execinfo option which does the same thing we were doing (disables crash handler). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
15 lines
524 B
Diff
15 lines
524 B
Diff
--- a/SConstruct
|
|
+++ b/SConstruct
|
|
@@ -297,2 +297,3 @@
|
|
opts.Add("CC", "C compiler binary")
|
|
+opts.Add("AR", "Archiver")
|
|
opts.Add("LINK", "Linker binary")
|
|
@@ -731,8 +732,2 @@
|
|
env.Append(CCFLAGS=[f"-ffile-prefix-map={project_path}=."])
|
|
- else:
|
|
- if methods.using_clang(env) and not methods.is_vanilla_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"])
|
|
|