File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -78,11 +78,25 @@ parts:
78
78
source-depth : 1
79
79
plugin : nil
80
80
build-packages :
81
- - musl-dev
81
+ - musl-tools
82
82
override-build : |
83
83
set -ex
84
84
85
85
MACHINE_TYPE="$(gcc -dumpmachine | awk -F'-' '{print $1}')"
86
+ if [ "${MACHINE_TYPE}" = "powerpc64le" ]; then
87
+ cat <<EOM | tee -a "/usr/lib/powerpc64le-linux-musl/musl-gcc.specs"
88
+ %rename cpp_options x_cpp_options
89
+
90
+ *cpp_options:
91
+ -mlong-double-64 %(x_cpp_options)
92
+
93
+ %rename cc1 x_cc1
94
+
95
+ *cc1:
96
+ -mlong-double-64 %(x_cc1)
97
+
98
+ EOM
99
+ fi
86
100
ln -s $(pwd)/include/sys/queue.h /usr/include/${MACHINE_TYPE}-linux-musl/sys/queue.h || true
87
101
ln -s /usr/include/${MACHINE_TYPE}-linux-gnu/asm /usr/include/${MACHINE_TYPE}-linux-musl/asm || true
88
102
ln -s /usr/include/asm-generic /usr/include/${MACHINE_TYPE}-linux-musl/asm-generic || true
@@ -116,8 +130,8 @@ parts:
116
130
libnsl :
117
131
after :
118
132
- libtirpc
119
- source : https://git.launchpad.net/ubuntu/+source/ libnsl
120
- source-branch : applied/ubuntu/noble
133
+ source : https://github.com/thkukuk/ libnsl.git
134
+ source-tag : v2.0.0
121
135
source-type : git
122
136
source-depth : 1
123
137
plugin : nil
@@ -220,7 +234,6 @@ parts:
220
234
- autopoint
221
235
- gettext
222
236
- libtool
223
- - libsqlite3-dev
224
237
- make
225
238
- pkg-config
226
239
- tcl
You can’t perform that action at this time.
0 commit comments