aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-01-30 01:05:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-01-31 18:25:40 +0100
commit9873463c2f44ba239225718ad416dcac75d5bc70 (patch)
treefbfdc6c6bb2b7c973b8a91a78d0f4a2a07d27f3e
parent9ef5a9deaf0f4f44a19efa5bd75df74873096063 (diff)
downloadffmpeg-9873463c2f44ba239225718ad416dcac75d5bc70.tar.gz
Enable native build on QNX/x86
(cherry picked from commit d33ed7b36762bf26694bdfa18e0d811e26c996f8)
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
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)
;;
*)