Skip to content

Commit

Permalink
gcc musl manual 5
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Oct 11, 2023
1 parent 1283d04 commit ea48261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ build_single_target() {
clangrtlib="$(basename "${clangrtlib}" | cut -c 4-)" # delete 'lib' prefix
clangrtlib="${clangrtlib%.*}" # gcc
libprefix="/usr/lib/${_machine}-linux-musl"
_CFLAGS_GLOBAL="${_CFLAGS_GLOBAL} -static -nostdinc -isystem /usr/include/${_machine}-linux-musl"
_CFLAGS_GLOBAL="${_CFLAGS_GLOBAL} -static -nostdinc -isystem ${clangrsdir}/include -isystem /usr/include/${_machine}-linux-musl"
_LDFLAGS_GLOBAL="${_LDFLAGS_GLOBAL} -nostartfiles -L${libprefix} -Wl,${libprefix}/Scrt1.o -Wl,${libprefix}/crti.o -L${clangrsdir} -Wl,${libprefix}/crtn.o"
_LIBS_GLOBAL="${_LIBS_GLOBAL} -lc -lgcc"
fi
Expand Down

0 comments on commit ea48261

Please sign in to comment.