]> git.pld-linux.org Git - packages/glibc.git/commitdiff
disable static pie on %{arm}
authorJan Palus <atler@pld-linux.org>
Mon, 16 Nov 2020 13:05:14 +0000 (14:05 +0100)
committerJan Palus <atler@pld-linux.org>
Mon, 16 Nov 2020 13:05:14 +0000 (14:05 +0100)
produces segfaulting binaries

glibc.spec

index a8f860c999d6d9234c8f68f0e3865ccbf348c0f6..47787ed760817fd699b60d82ccb1e2753a8aea32 100644 (file)
@@ -31,6 +31,9 @@
 %ifnarch i686 %{x8664} x32
 %undefine      with_cet
 %endif
+%ifnarch %{arm}
+%define                with_static_pie         1
+%endif
 
 %define                core_version    2.32
 %define                llh_version     7:2.6.32.1-1
@@ -984,7 +987,7 @@ AWK="gawk" \
        --enable-profile \
        --enable-stack-protector=strong \
        --enable-stackguard-randomization \
-       --enable-static-pie \
+       %{?with_static_pie:--enable-static-pie} \
        --enable-tunables \
        --with-binutils=$(pwd)/alt-tools \
        --with-bugurl=http://bugs.pld-linux.org/ \
This page took 0.199456 seconds and 4 git commands to generate.