mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 20:42:23 +00:00
pre-compiled sha1ppc.S.obj file with nasty CMake hack instructions as the cross-compile process refuses to build and link this file itself.
This commit is contained in:
parent
5c0fd7b976
commit
b9bfc7684b
@ -24,7 +24,7 @@ STRING(REGEX REPLACE "^.*LIBGIT2_VERSION \"[0-9]+\\.[0-9]+\\.([0-9]+).*$" "\\1"
|
|||||||
SET(LIBGIT2_VERSION_STRING "${LIBGIT2_VERSION_MAJOR}.${LIBGIT2_VERSION_MINOR}.${LIBGIT2_VERSION_REV}")
|
SET(LIBGIT2_VERSION_STRING "${LIBGIT2_VERSION_MAJOR}.${LIBGIT2_VERSION_MINOR}.${LIBGIT2_VERSION_REV}")
|
||||||
|
|
||||||
# Uncomment out the line below to use PowerPC SHA1
|
# Uncomment out the line below to use PowerPC SHA1
|
||||||
#SET(SHA1_TYPE "ppc")
|
SET(SHA1_TYPE "ppc")
|
||||||
|
|
||||||
# Find required dependencies
|
# Find required dependencies
|
||||||
INCLUDE_DIRECTORIES(src include deps/http-parser)
|
INCLUDE_DIRECTORIES(src include deps/http-parser)
|
||||||
|
4
README.amiga
Executable file
4
README.amiga
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
Nasty build hack:
|
||||||
|
When setting SHA1 to ppc in CMakeLists.txt, after running initial CMake,
|
||||||
|
copy src/ppc/sha1ppc.S.obj to build/CMakeFiles/git2.dir/src/ppc/
|
||||||
|
Add CMakeFiles/git2.dir/src/ppc/sha1ppc.S.obj to the list in build/CMakeFiles/git2.dir/link.txt
|
BIN
src/ppc/sha1ppc.S.obj
Normal file
BIN
src/ppc/sha1ppc.S.obj
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user