Initial commit
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,98 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -93,34 +93,67 @@ set(ZLIB_PUBLIC_HDRS
|
||||
${CMAKE_CURRENT_BINARY_DIR}/zconf.h
|
||||
zlib.h
|
||||
)
|
||||
-set(ZLIB_PRIVATE_HDRS
|
||||
- crc32.h
|
||||
- deflate.h
|
||||
- gzguts.h
|
||||
- inffast.h
|
||||
- inffixed.h
|
||||
- inflate.h
|
||||
- inftrees.h
|
||||
- trees.h
|
||||
- zutil.h
|
||||
-)
|
||||
-set(ZLIB_SRCS
|
||||
- adler32.c
|
||||
- compress.c
|
||||
- crc32.c
|
||||
- deflate.c
|
||||
- gzclose.c
|
||||
- gzlib.c
|
||||
- gzread.c
|
||||
- gzwrite.c
|
||||
- inflate.c
|
||||
- infback.c
|
||||
- inftrees.c
|
||||
- inffast.c
|
||||
- trees.c
|
||||
- uncompr.c
|
||||
- zutil.c
|
||||
-)
|
||||
+
|
||||
+if(ARMv8)
|
||||
+ set(ZLIB_PRIVATE_HDRS
|
||||
+ crc32.h
|
||||
+ deflate.h
|
||||
+ gzguts.h
|
||||
+ inffast.h
|
||||
+ inffixed.h
|
||||
+ inflate.h
|
||||
+ inftrees.h
|
||||
+ trees.h
|
||||
+ zutil.h
|
||||
+ contrib/arm/chunkcopy.h
|
||||
+ )
|
||||
+ set(ZLIB_SRCS
|
||||
+ adler32.c
|
||||
+ compress.c
|
||||
+ crc32.c
|
||||
+ deflate.c
|
||||
+ gzclose.c
|
||||
+ gzlib.c
|
||||
+ gzread.c
|
||||
+ gzwrite.c
|
||||
+ infback.c
|
||||
+ inftrees.c
|
||||
+ contrib/arm/inflate.c
|
||||
+ contrib/arm/inffast.c
|
||||
+ trees.c
|
||||
+ uncompr.c
|
||||
+ zutil.c
|
||||
+ )
|
||||
+ else()
|
||||
+ set(ZLIB_PRIVATE_HDRS
|
||||
+ crc32.h
|
||||
+ deflate.h
|
||||
+ gzguts.h
|
||||
+ inffast.h
|
||||
+ inffixed.h
|
||||
+ inflate.h
|
||||
+ inftrees.h
|
||||
+ trees.h
|
||||
+ zutil.h
|
||||
+ )
|
||||
+ set(ZLIB_SRCS
|
||||
+ adler32.c
|
||||
+ compress.c
|
||||
+ crc32.c
|
||||
+ deflate.c
|
||||
+ gzclose.c
|
||||
+ gzlib.c
|
||||
+ gzread.c
|
||||
+ gzwrite.c
|
||||
+ inflate.c
|
||||
+ infback.c
|
||||
+ inftrees.c
|
||||
+ inffast.c
|
||||
+ trees.c
|
||||
+ uncompr.c
|
||||
+ zutil.c
|
||||
+ )
|
||||
+endif()
|
||||
|
||||
if(NOT MINGW)
|
||||
set(ZLIB_DLL_SRCS
|
||||
Reference in New Issue
Block a user