[FFmpeg-cvslog] Enable native build on QNX/x86

Mans Rullgard git
Mon Jan 31 18:48:15 CET 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sun Jan 30 01:05:39 2011 +0000| [9873463c2f44ba239225718ad416dcac75d5bc70] | committer: Michael Niedermayer

Enable native build on QNX/x86
(cherry picked from commit d33ed7b36762bf26694bdfa18e0d811e26c996f8)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9873463c2f44ba239225718ad416dcac75d5bc70
---

 configure |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index a4d1711..e68d568 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)
         ;;
     *)




More information about the ffmpeg-cvslog mailing list