aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/config/cc/gcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/config/cc/gcc b/misc/config/cc/gcc
index 2111f9940..f11c94da4 100644
--- a/misc/config/cc/gcc
+++ b/misc/config/cc/gcc
@@ -78,6 +78,6 @@ ppc64 -> "-m64"
# This should probably be used on most/all targets, but the docs are incomplete
openbsd -> "-pthread"
freebsd -> "-pthread"
-netbsd -> "-pthread"
+netbsd -> "-pthread -D_NETBSD_SOURCE"
qnx -> "-fexceptions -D_QNX_SOURCE"
</mach_abi_linking>