aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/os
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-23 15:55:06 -0500
committerJack Lloyd <[email protected]>2017-12-23 15:55:06 -0500
commitebeae68aba0d3384a00fddde77a561bb0cd88102 (patch)
tree3b0a32bef32bec49abd56bc70c4401293c2b72e7 /src/build-data/os
parent5d9c4ec81422391a7b1594108143488fa45db0c1 (diff)
Build improvements
Derive the fact that shared libs are not supported from the lack of information about shared object names. If soname_suffix and co are not set -> shared libs are disabled. Disable stack protector by default on OSes where it has proven a problem namely AIX and Haiku. Add --with-stack-protector option to force turning it on.
Diffstat (limited to 'src/build-data/os')
-rw-r--r--src/build-data/os/aix.txt2
-rw-r--r--src/build-data/os/cygwin.txt1
-rw-r--r--src/build-data/os/haiku.txt2
-rw-r--r--src/build-data/os/includeos.txt1
-rw-r--r--src/build-data/os/llvm.txt1
-rw-r--r--src/build-data/os/mingw.txt1
-rw-r--r--src/build-data/os/nacl.txt1
-rw-r--r--src/build-data/os/winphone.txt1
8 files changed, 4 insertions, 6 deletions
diff --git a/src/build-data/os/aix.txt b/src/build-data/os/aix.txt
index 6a8a9e4d7..b12685c61 100644
--- a/src/build-data/os/aix.txt
+++ b/src/build-data/os/aix.txt
@@ -2,6 +2,8 @@ os_type unix
soname_suffix "so"
+use_stack_protector no
+
<target_features>
clock_gettime
gmtime_r
diff --git a/src/build-data/os/cygwin.txt b/src/build-data/os/cygwin.txt
index c5a790595..f4118aedb 100644
--- a/src/build-data/os/cygwin.txt
+++ b/src/build-data/os/cygwin.txt
@@ -5,7 +5,6 @@ program_suffix .exe
# Cygwin supports shared libs fine, but there are problems with making a Botan
# shared library when libraries it depends on are static-only (such as libz).
# So until I can figure out a work-around, it's disabled.
-building_shared_supported no
install_root c:\Botan
doc_dir docs
diff --git a/src/build-data/os/haiku.txt b/src/build-data/os/haiku.txt
index 735a6be53..37f3d862f 100644
--- a/src/build-data/os/haiku.txt
+++ b/src/build-data/os/haiku.txt
@@ -7,6 +7,8 @@ header_dir develop/headers
lib_dir system/lib
doc_dir system/documentation
+use_stack_protector no
+
<target_features>
clock_gettime
gmtime_r
diff --git a/src/build-data/os/includeos.txt b/src/build-data/os/includeos.txt
index dcac84051..cabcec6b9 100644
--- a/src/build-data/os/includeos.txt
+++ b/src/build-data/os/includeos.txt
@@ -1,6 +1,5 @@
os_type unikernel
-building_shared_supported no
<target_features>
</target_features>
diff --git a/src/build-data/os/llvm.txt b/src/build-data/os/llvm.txt
index 9eeff5cba..132d7749f 100644
--- a/src/build-data/os/llvm.txt
+++ b/src/build-data/os/llvm.txt
@@ -1,6 +1,5 @@
obj_suffix bc
-building_shared_supported no
ar_command llvm-link
ar_options -o
diff --git a/src/build-data/os/mingw.txt b/src/build-data/os/mingw.txt
index f1db8fb43..da3f1ede7 100644
--- a/src/build-data/os/mingw.txt
+++ b/src/build-data/os/mingw.txt
@@ -4,7 +4,6 @@ program_suffix .exe
obj_suffix o
static_suffix a
-building_shared_supported no
install_root /mingw
header_dir include
diff --git a/src/build-data/os/nacl.txt b/src/build-data/os/nacl.txt
index 66ce8f34f..55156e401 100644
--- a/src/build-data/os/nacl.txt
+++ b/src/build-data/os/nacl.txt
@@ -1,5 +1,4 @@
-building_shared_supported no
<target_features>
threads
diff --git a/src/build-data/os/winphone.txt b/src/build-data/os/winphone.txt
index 0b0318fed..34f2e0f5f 100644
--- a/src/build-data/os/winphone.txt
+++ b/src/build-data/os/winphone.txt
@@ -4,7 +4,6 @@ os_type windows
program_suffix .exe
obj_suffix obj
static_suffix lib
-building_shared_supported no
install_root c:\\Botan
doc_dir docs