libressl: Disable endian.h check for iOS.

This commit is contained in:
Steveice10 2023-06-04 18:44:33 -07:00
parent 41de3f161a
commit 38d6d35aac
2 changed files with 6 additions and 3 deletions

View File

@ -277,9 +277,11 @@ if(HAVE_MEMMEM)
add_definitions(-DHAVE_MEMMEM)
endif()
check_include_files(endian.h HAVE_ENDIAN_H)
if(HAVE_ENDIAN_H)
add_definitions(-DHAVE_ENDIAN_H)
if (NOT IOS)
check_include_files(endian.h HAVE_ENDIAN_H)
if(HAVE_ENDIAN_H)
add_definitions(-DHAVE_ENDIAN_H)
endif()
endif()
check_include_files(machine/endian.h HAVE_MACHINE_ENDIAN_H)

View File

@ -3,6 +3,7 @@ Built from https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.8.0.tar.gz
Modifications:
* Removed targets for apps, tests, install, uninstall.
* Removed extra files like unneeded target sources, Makefiles, autoconf files.
* Disabled endian.h check for iOS as it breaks build.
===