Commit 9873463c authored by Mans Rullgard's avatar Mans Rullgard Committed by Michael Niedermayer

Enable native build on QNX/x86

(cherry picked from commit d33ed7b3)
parent 9ef5a9de
...@@ -2110,7 +2110,7 @@ case "$arch" in ...@@ -2110,7 +2110,7 @@ case "$arch" in
arch="sparc" arch="sparc"
subarch="sparc64" subarch="sparc64"
;; ;;
i[3-6]86|i86pc|BePC|x86_64|amd64) i[3-6]86|i86pc|BePC|x86pc|x86_64|amd64)
arch="x86" arch="x86"
;; ;;
esac esac
...@@ -2447,6 +2447,10 @@ case $target_os in ...@@ -2447,6 +2447,10 @@ case $target_os in
;; ;;
gnu) gnu)
;; ;;
qnx)
add_cppflags -D_QNX_SOURCE
network_extralibs="-lsocket"
;;
none) none)
;; ;;
*) *)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment