diff options
author | Memphiz <memphis@machzwo.de> | 2016-09-22 15:28:10 +0200 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2016-09-22 15:28:10 +0200 |
commit | 1998799ec4ba6e3afc63c3090b9ad40bce172d09 (patch) | |
tree | cc51a1725ebd59e3fd86376482c3d2b9bd824006 /tools | |
parent | dac099dd8dcd96cebdfa25359d9c765815f5febe (diff) |
[depends/config.site] - for osx force getentropy and get_clocktime to no (those are only available in 10.12 runtime but get falsly detected with 10.12 sdk)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/native/config.site.native.in | 9 | ||||
-rw-r--r-- | tools/depends/target/config-binaddons.site.in | 9 | ||||
-rw-r--r-- | tools/depends/target/config.site.in | 9 |
3 files changed, 27 insertions, 0 deletions
diff --git a/tools/depends/native/config.site.native.in b/tools/depends/native/config.site.native.in index edbaff789b..007ee5724a 100644 --- a/tools/depends/native/config.site.native.in +++ b/tools/depends/native/config.site.native.in @@ -24,3 +24,12 @@ fi LD_LIBRARY_PATH=@prefix@/@tool_dir@/lib:$LD_LIBRARY_PATH NASM=@prefix@/@tool_dir@/bin/yasm + +if test "@platform_os@" = "osx" ; then + # Xcode 8 + 10.11, clock_gettime and getentropy is present + # in 10.12 but will get wrongly detected if building on 10.11 + ac_cv_search_clock_gettime=no + ac_cv_func_clock_gettime=no + ac_cv_func_getentropy=no +fi + diff --git a/tools/depends/target/config-binaddons.site.in b/tools/depends/target/config-binaddons.site.in index a8afdd7c09..d71c378810 100644 --- a/tools/depends/target/config-binaddons.site.in +++ b/tools/depends/target/config-binaddons.site.in @@ -118,6 +118,15 @@ if test "@platform_os@" = "android"; then fi +if test "@platform_os@" = "osx" ; then + # Xcode 8 + 10.11, clock_gettime getentropy is present + # in 10.12 but will get wrongly detected if building on 10.11 + ac_cv_search_clock_gettime=no + ac_cv_func_clock_gettime=no + ac_cv_func_getentropy=no +fi + + if test "@platform_os@" = "ios"; then # tweaks for libffi (ios must use llvm-gcc-4.2) if test "${PACKAGE_NAME}" = "libffi" ; then diff --git a/tools/depends/target/config.site.in b/tools/depends/target/config.site.in index a3a3bc22d7..1a9961c2ae 100644 --- a/tools/depends/target/config.site.in +++ b/tools/depends/target/config.site.in @@ -140,6 +140,15 @@ if test "@platform_os@" = "android"; then fi +if test "@platform_os@" = "osx" ; then + # Xcode 8 + 10.11, clock_gettime and getentropy is present + # in 10.12 but will get wrongly detected if building on 10.11 + ac_cv_search_clock_gettime=no + ac_cv_func_clock_gettime=no + ac_cv_func_getentropy=no +fi + + if test "@platform_os@" = "ios"; then # tweaks for libffi (ios must use llvm-gcc-4.2) if test "${PACKAGE_NAME}" = "libffi" ; then |