From d33ed7b36762bf26694bdfa18e0d811e26c996f8 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Sun, 30 Jan 2011 01:05:39 +0000 Subject: [PATCH] Enable native build on QNX/x86 --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 94993d7e86..46f4e4415f 100755 --- a/configure +++ b/configure @@ -2109,7 +2109,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 @@ -2446,6 +2446,10 @@ case $target_os in ;; gnu) ;; + qnx) + add_cppflags -D_QNX_SOURCE + network_extralibs="-lsocket" + ;; none) ;; *)