From 9873463c2f44ba239225718ad416dcac75d5bc70 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Sun, 30 Jan 2011 01:05:39 +0000 Subject: Enable native build on QNX/x86 (cherry picked from commit d33ed7b36762bf26694bdfa18e0d811e26c996f8) --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index a4d1711a00..e68d5689fc 100755 --- a/configure +++ b/configure @@ -2110,7 +2110,7 @@ case "$arch" in arch="sparc" subarch="sparc64" ;; - i[3-6]86|i86pc|BePC|x86_64|amd64) + i[3-6]86|i86pc|BePC|x86pc|x86_64|amd64) arch="x86" ;; esac @@ -2447,6 +2447,10 @@ case $target_os in ;; gnu) ;; + qnx) + add_cppflags -D_QNX_SOURCE + network_extralibs="-lsocket" + ;; none) ;; *) -- cgit v1.2.3