[PATCH] Add an extra flag to libcxxabi buildit to link compiler runtime libraries
Keno Fischer
kfischer at college.harvard.edu
Sun Jul 27 18:44:38 PDT 2014
Some compiler generate calls into their custom runtime libraries, but don't actually link them when -nodefaultlibs is specified, so it would be nice to have this simple extra flag to allow you to specify that.
I hope cfe-commits is the right list for this. I didn't see a separate one for libcxxabi, so please point me there if there is one.
http://reviews.llvm.org/D4688
Files:
lib/buildit
Index: lib/buildit
===================================================================
--- lib/buildit
+++ lib/buildit
@@ -91,7 +91,7 @@
done
;;
esac
-$CC *.o $RC_CFLAGS $LDSHARED_FLAGS $EXTRA_FLAGS
+$CC *.o $RC_CFLAGS $LDSHARED_FLAGS $EXTRA_FLAGS $EXTRA_LIBS
if [ -z $RC_XBS ]
then
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4688.11926.patch
Type: text/x-patch
Size: 294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140728/73ad6ab8/attachment.bin>
More information about the cfe-commits
mailing list