mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
Merge pull request #76 from aliceatlas/master
Add patch for ranlib bug not yet fixed in cctools 877.8
This commit is contained in:
commit
bdee5c1d00
1
build.sh
1
build.sh
@ -149,6 +149,7 @@ pushd .. &>/dev/null
|
||||
popd &>/dev/null
|
||||
patch -p0 < $PATCH_DIR/cctools-ld64-1.patch
|
||||
patch -p0 < $PATCH_DIR/cctools-ld64-2.patch
|
||||
patch -p0 < $PATCH_DIR/cctools-ld64-3.patch
|
||||
echo ""
|
||||
CONFFLAGS="--prefix=$TARGET_DIR --target=x86_64-apple-$TARGET "
|
||||
CONFFLAGS+="--disable-clang-as "
|
||||
|
11
patches/cctools-ld64-3.patch
Normal file
11
patches/cctools-ld64-3.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- misc/libtool.c
|
||||
+++ misc/libtool.c
|
||||
@@ -1526,7 +1526,7 @@ void)
|
||||
for(k = 0; k < archs[j].nmembers; k++){
|
||||
if(archs[j].members[k].mh == NULL &&
|
||||
#ifdef LTO_SUPPORT
|
||||
- archs[j].members[k].lto_contents == TRUE &&
|
||||
+ archs[j].members[k].lto_contents == FALSE &&
|
||||
#endif /* LTO_SUPPORT */
|
||||
archs[j].members[k].mh64 == NULL){
|
||||
error("library member: %s(%.*s) is not an "
|
Loading…
Reference in New Issue
Block a user