vinix-ports / release-recipes / musl-x86_64-1.2.6-3.patch
12 lines · 12 sloc · 688 bytes · 3783e6e0d32e999f891aad3307c30a66fa387146
Raw
1--- a/musl/PKGBUILD.vile
2+++ b/musl/PKGBUILD.vile
3@@ -8 +7,0 @@
4-release := if string=?(target-arch, "aarch64") { 4 } else { 3 }
5@@ -13 +12 @@
6- #:pkgrel, release,
7+ #:pkgrel, 3,
8@@ -75,3 +74 @@
9- ; Bootlin places a 4 KiB -Wl option after *link. A self spec appends the
10- ; target link option after those driver arguments, including -nostdlib.
11- run("sed", "-i", "1i%rename self_spec vinix_original_self_spec\\n\\n*self_spec:\\n%(vinix_original_self_spec) %{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:-Wl,-z,max-page-size=16384}}}}}}\\n", native-specs, specs)
12+ run("sed", "-i", "-e", "s|-dynamic-linker |-z max-page-size=16384 -dynamic-linker |", native-specs, specs)
13