Skip to content

Commit

Permalink
test cleanup 1
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Oct 31, 2023
1 parent 1f57227 commit b797b05
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1229,15 +1229,14 @@ build_single_target() {
_CFLAGS_GLOBAL="${_CFLAGS_GLOBAL} -nostdinc -isystem ${ccrsdir}/include -isystem /usr/include/${_machine}-linux-musl"
_LDFLAGS_GLOBAL="${_LDFLAGS_GLOBAL} -nostdlib -nodefaultlibs -nostartfiles -L${libprefix} ${libprefix}/crt1.o ${libprefix}/crti.o -L${ccrtdir} ${libprefix}/crtn.o"
_LIBS_GLOBAL="${_LIBS_GLOBAL} -lc ${ccrtlib}"
_LDFLAGS_CXX_GLOBAL="${_LDFLAGS_CXX_GLOBAL} -nostdlib++"
else
_LDFLAGS_GLOBAL="${_LDFLAGS_GLOBAL} -rtlib=compiler-rt"
# `-Wc,...` is necessary for libtool to pass this option to the compiler
# at link-time. Otherwise libtool strips it.
# https://www.gnu.org/software/libtool/manual/html_node/Stripped-link-flags.html
_LDFLAGS_GLOBAL_AUTOTOOLS="${_LDFLAGS_GLOBAL_AUTOTOOLS} -Wc,-rtlib=compiler-rt"
fi
_LDFLAGS_CXX_GLOBAL="${_LDFLAGS_CXX_GLOBAL} -stdlib=libc++"
_LDFLAGS_CXX_GLOBAL="${_LDFLAGS_CXX_GLOBAL} -nostdlib++"
fi
else
if [ "${_OS}" = 'win' ]; then
Expand Down

0 comments on commit b797b05

Please sign in to comment.