summaryrefslogtreecommitdiff
path: root/lib/mlibc/dummy-libs/librt/src/dummy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/dummy-libs/librt/src/dummy.cpp')
-rw-r--r--lib/mlibc/dummy-libs/librt/src/dummy.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/mlibc/dummy-libs/librt/src/dummy.cpp b/lib/mlibc/dummy-libs/librt/src/dummy.cpp
new file mode 100644
index 0000000..35c3852
--- /dev/null
+++ b/lib/mlibc/dummy-libs/librt/src/dummy.cpp
@@ -0,0 +1,6 @@
+
+// We build an empty librt because g++ always links with -lrt
+// The actual functions reside inside libc
+
+extern "C" void __mlibc_librt_dummy(void) { }
+