diff options
author | lloyd <[email protected]> | 2008-03-10 03:43:37 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-03-10 03:43:37 +0000 |
commit | 4afce372a2a5ff4daeaf7e564b5602c43adecd1b (patch) | |
tree | 06efe42f002a31e5bf542fe20fefb11b7337f176 /misc/config/cc | |
parent | 78788d72f74ab1e6f0f3f37d4aa60a6df3d26bc8 (diff) |
On NetBSD with GCC, define _NETBSD_SOURCE; according to a report on the
Monotone mailing list, it was needed for a build.
Diffstat (limited to 'misc/config/cc')
-rw-r--r-- | misc/config/cc/gcc | 2 |
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> |