aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/cc/gcc1
-rw-r--r--src/build-data/os/dragonfly11
2 files changed, 12 insertions, 0 deletions
diff --git a/src/build-data/cc/gcc b/src/build-data/cc/gcc
index 68d79ddf8..30576eb72 100644
--- a/src/build-data/cc/gcc
+++ b/src/build-data/cc/gcc
@@ -84,6 +84,7 @@ ppc64 -> "-m64"
# This should probably be used on most/all targets, but the docs are incomplete
openbsd -> "-pthread"
freebsd -> "-pthread"
+dragonfly -> "-pthread"
netbsd -> "-pthread -D_NETBSD_SOURCE"
qnx -> "-fexceptions -D_QNX_SOURCE"
</mach_abi_linking>
diff --git a/src/build-data/os/dragonfly b/src/build-data/os/dragonfly
new file mode 100644
index 000000000..7e3663435
--- /dev/null
+++ b/src/build-data/os/dragonfly
@@ -0,0 +1,11 @@
+realname "DragonFly"
+
+os_type unix
+
+<target_features>
+posix_mlock
+</target_features>
+
+<supports_shared>
+all
+</supports_shared>