Index: libcfa/src/startup.cfa
===================================================================
--- libcfa/src/startup.cfa	(revision 73abe950d807eab747c9e14353b158fcca827308)
+++ libcfa/src/startup.cfa	(revision 62e782ec0b91a7b157f6d5249bcba344a182de69)
@@ -40,5 +40,7 @@
 
 struct __spinlock_t;
-void __cfaabi_dbg_record(struct __spinlock_t & this, const char * prev_name) __attribute__(( weak )) {}
+extern "C" {
+	void __cfaabi_dbg_record(struct __spinlock_t & this, const char * prev_name) __attribute__(( weak )) {}
+}
 
 // Local Variables: //
