Skip to content

Commit b3677e4

Browse files
dwsuseigaw
authored andcommitted
build: pass the linker argument via muon argument
Use the canonical way to set the static build using the command line argument. Signed-off-by: Daniel Wagner <[email protected]>
1 parent a03b7ed commit b3677e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ tools_build_muon() {
172172
}
173173

174174
config_muon_default() {
175-
CC="${CC}" CFLAGS="${CFLAGS} -static" \
176-
ninja="${SAMU}" "${MUON}" setup \
175+
CC="${CC}" ninja="${SAMU}" "${MUON}" setup \
177176
-Ddefault_library=static \
177+
-Dc_link_args="-static" \
178178
-Djson-c=disabled \
179179
-Dopenssl=disabled \
180180
-Dkeyutils=disabled \

0 commit comments

Comments
 (0)