OSDN Git Service

Enable native build on QNX/x86
authorMans Rullgard <mans@mansr.com>
Sun, 30 Jan 2011 01:05:39 +0000 (01:05 +0000)
committerMans Rullgard <mans@mansr.com>
Sun, 30 Jan 2011 01:05:39 +0000 (01:05 +0000)
configure

index 94993d7..46f4e44 100755 (executable)
--- 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)
         ;;
     *)