aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--news.rst2
-rw-r--r--src/build-data/cc/gcc.txt2
-rw-r--r--src/lib/utils/socket/info.txt1
3 files changed, 4 insertions, 1 deletions
diff --git a/news.rst b/news.rst
index 4c2da7db9..9e51ba83c 100644
--- a/news.rst
+++ b/news.rst
@@ -12,6 +12,8 @@ Version 2.9.0, Not Yet Released
* Fix a bug introduced in 2.8.0 that caused compilation failure if using
a single amalgamation file with AVX2 enabled. (GH #1700)
+* Fix small issues when building for QNX
+
Version 2.8.0, 2018-10-01
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index 01baeafcd..903aaeeaa 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -83,7 +83,7 @@ x86_64 -> "-momit-leaf-frame-pointer"
# Flags set here are included at compile and link time
<mach_abi_linking>
-all!haiku -> "-pthread"
+all!haiku,qnx -> "-pthread"
openmp -> "-fopenmp"
diff --git a/src/lib/utils/socket/info.txt b/src/lib/utils/socket/info.txt
index b61454f70..330e784c5 100644
--- a/src/lib/utils/socket/info.txt
+++ b/src/lib/utils/socket/info.txt
@@ -12,4 +12,5 @@ mingw -> ws2_32
windows -> ws2_32.lib
haiku -> network
solaris -> socket,nsl
+qnx -> socket
</libs>