aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-02-28 02:39:18 +0000
committerlloyd <[email protected]>2007-02-28 02:39:18 +0000
commitc54e7ea2c9276214021c392aad6c901624913393 (patch)
tree0c98ea99a7f38be30bd7b7507641d15d261be1b6
parent142c33af842f42855c9f7b900406e1311689bb57 (diff)
Define _QNX_SOURCE when compiling under QNX, according to reports on the
mailing list this is required for a successful build.
-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 f448dc913..0088f6758 100644
--- a/misc/config/cc/gcc
+++ b/misc/config/cc/gcc
@@ -79,7 +79,7 @@ ppc64 -> "-m64"
openbsd -> "-pthread"
freebsd -> "-pthread"
netbsd -> "-pthread"
-qnx -> "-fexceptions"
+qnx -> "-fexceptions -D_QNX_SOURCE"
</mach_abi_linking>
<os>