Merge pull request #76 from aliceatlas/master

Add patch for ranlib bug not yet fixed in cctools 877.8
This commit is contained in:
Thomas Pöchtrager 2016-06-01 19:48:26 +02:00
commit bdee5c1d00
2 changed files with 12 additions and 0 deletions

View File

@ -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 "

View 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 "