mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-10 10:52:31 -05:00
contrib: guix: Remove ssp spec file hack
This hack is no longer needed after fixing our cross-compilation search paths.
This commit is contained in:
parent
0093a5869a
commit
0065ead5eb
1 changed files with 2 additions and 9 deletions
|
@ -136,17 +136,10 @@ DISTNAME="$(basename "$SOURCEDIST" '.tar.gz')"
|
||||||
# Binary Tarball Building #
|
# Binary Tarball Building #
|
||||||
###########################
|
###########################
|
||||||
|
|
||||||
# Create a spec file to normalize ssp linking behaviour
|
|
||||||
spec_file="$(mktemp)"
|
|
||||||
cat << EOF > "$spec_file"
|
|
||||||
*link_ssp:
|
|
||||||
%{fstack-protector|fstack-protector-all|fstack-protector-strong|fstack-protector-explicit:}
|
|
||||||
EOF
|
|
||||||
|
|
||||||
# Similar flags to Gitian
|
# Similar flags to Gitian
|
||||||
CONFIGFLAGS="--enable-glibc-back-compat --enable-reduce-exports --disable-bench --disable-gui-tests"
|
CONFIGFLAGS="--enable-glibc-back-compat --enable-reduce-exports --disable-bench --disable-gui-tests"
|
||||||
HOST_CFLAGS="-O2 -g -specs=${spec_file} -ffile-prefix-map=${PWD}=."
|
HOST_CFLAGS="-O2 -g -ffile-prefix-map=${PWD}=."
|
||||||
HOST_CXXFLAGS="-O2 -g -specs=${spec_file} -ffile-prefix-map=${PWD}=."
|
HOST_CXXFLAGS="-O2 -g -ffile-prefix-map=${PWD}=."
|
||||||
HOST_LDFLAGS="-Wl,--as-needed -Wl,--dynamic-linker=$glibc_dynamic_linker -static-libstdc++"
|
HOST_LDFLAGS="-Wl,--as-needed -Wl,--dynamic-linker=$glibc_dynamic_linker -static-libstdc++"
|
||||||
|
|
||||||
# Make $HOST-specific native binaries from depends available in $PATH
|
# Make $HOST-specific native binaries from depends available in $PATH
|
||||||
|
|
Loading…
Add table
Reference in a new issue