Skip to content

Commit

Permalink
fixup 1
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Oct 31, 2023
1 parent ae1c761 commit 1102861
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,8 @@ build_single_target() {
ccrtlib="${ccrtdir}/libclang_rt.builtins-${_machine}.a"
ccrtlib="$(basename "${ccrtlib}" | cut -c 4-)" # delete 'lib' prefix
ccrtlib="-l${ccrtlib%.*}" # clang_rt.builtins-aarch64 or gcc
_LDFLAGS_GLOBAL="${_LDFLAGS_GLOBAL} -nodefaultlibs -L${ccrtdir}"
libprefix="/usr/lib/${_machine}-linux-gnu"
_LDFLAGS_GLOBAL="${_LDFLAGS_GLOBAL} -nodefaultlibs -L${libprefix} -L${ccrtdir}"
_LIBS_GLOBAL="${_LIBS_GLOBAL} -lc ${ccrtlib}"
fi
_LDFLAGS_GLOBAL="${_LDFLAGS_GLOBAL} -rtlib=compiler-rt"
Expand Down

0 comments on commit 1102861

Please sign in to comment.