aboutsummaryrefslogtreecommitdiffstats
path: root/ffi/go/bls/dummy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ffi/go/bls/dummy.cpp')
-rw-r--r--ffi/go/bls/dummy.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffi/go/bls/dummy.cpp b/ffi/go/bls/dummy.cpp
new file mode 100644
index 0000000..a5103a1
--- /dev/null
+++ b/ffi/go/bls/dummy.cpp
@@ -0,0 +1,3 @@
+// This is a dummy source file which forces cgo to use the C++ linker instead
+// of the default C linker. We can therefore eliminate non-portable linker
+// flags such as -lstdc++, which is likely to break on FreeBSD and OpenBSD.