File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
contrib/gitian-descriptors Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ packages:
15
15
- " faketime"
16
16
- " bsdmainutils"
17
17
- " binutils-gold"
18
+ - " libstdc++6-4.6-pic"
18
19
reference_datetime : " 2013-06-01 00:00:00"
19
20
remotes :
20
21
- " url " : " https://github.com/bitcoin/bitcoin.git"
@@ -69,6 +70,14 @@ script: |
69
70
make ${MAKEOPTS} -C ${BASEPREFIX} HOST="${i}"
70
71
done
71
72
73
+ # Ubuntu precise hack: Not an issue in later versions.
74
+ # Precise's libstdc++.a is non-pic. There's an optional libstdc++6-4.6-pic
75
+ # package which provides libstdc++_pic.a, but the linker can't find it.
76
+ # Symlink it to a path that will be included in our link-line so that the
77
+ # linker picks it up before the default libstdc++.a.
78
+ # This is only necessary for 64bit.
79
+ ln -s /usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++_pic.a ${BASEPREFIX}/x86_64-unknown-linux-gnu/lib/libstdc++.a
80
+
72
81
# Create the release tarball using (arbitrarily) the first host
73
82
./autogen.sh
74
83
./configure --prefix=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`
You can’t perform that action at this time.
0 commit comments