aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-07-25 12:24:36 +0000
committerlloyd <[email protected]>2009-07-25 12:24:36 +0000
commit336404ac312cdc7cea82f9a2568d36c62418123f (patch)
tree8f9eb004e3806309537240d2e96963a327a28338 /src/build-data
parentc9f92c0c07634c3a2aa73a8f3d3660ba39d76fde (diff)
Add support for Dragonfly BSD (a fork of FreeBSD).
Contributed by Patrick Georgi
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>