File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -1277,16 +1277,16 @@ build_single_target() {
12771277
12781278 # Unbreak Homebrew gcc builds by moving problematic SDK header overlay
12791279 # directories/files out of the way:
1280- # find "${libgccdir}/include-fixed" | sort
1281- # patch_out='dispatch os AvailabilityInternal.h'
1282- # patch_out='' # TESTING 1
1283- # patch_out+=' stdio.h' # for Xcode 16 error: unknown type name 'FILE'
1284- # for f in ${patch_out}; do
1285- # if [ -r "${libgccdir}/include-fixed/${f}" ]; then
1286- # echo "! Zap gcc hack: '${libgccdir}/include-fixed/${f}'"
1287- # mv "${libgccdir}/include-fixed/${f}" "${libgccdir}/include-fixed/${f}-BAK"
1288- # fi
1289- # done
1280+ find " ${libgccdir} /include-fixed" | sort
1281+ patch_out=' dispatch os AvailabilityInternal.h'
1282+ patch_out=' ' # TESTING 1
1283+ patch_out+=' stdio.h' # for Xcode 16 error: unknown type name 'FILE'
1284+ for f in ${patch_out} ; do
1285+ if [ -r " ${libgccdir} /include-fixed/${f} " ]; then
1286+ echo " ! Zap gcc hack: '${libgccdir} /include-fixed/${f} '"
1287+ mv " ${libgccdir} /include-fixed/${f} " " ${libgccdir} /include-fixed/${f} -BAK"
1288+ fi
1289+ done
12901290 fi
12911291 fi
12921292
You can’t perform that action at this time.
0 commit comments