add support for detecting pcc's compiler runtime
[musl] / configure
index 327734a..19c241e 100755 (executable)
--- a/configure
+++ b/configure
@@ -299,6 +299,7 @@ shared=no
 # Find compiler runtime library
 test -z "$LIBCC" && tryldflag LIBCC -lgcc && tryldflag LIBCC -lgcc_eh
 test -z "$LIBCC" && tryldflag LIBCC -lcompiler_rt
+test -z "$LIBCC" && tryldflag LIBCC -lpcc
 printf "using compiler runtime libraries: %s\n" "$LIBCC"