configs  Check-in [c51ad6649c]

Overview
Comment:zshrc: Use -isysroot for `cross ios`
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c51ad6649cbc320cd384636107e53ea7a8cbaf495660a759351abb9e89d08a76
User & Date: js 2022-04-24 11:20:13
Context
2022-07-14
20:44
cross wii-u: Include $DEVKITPRO/tools/bin in PATH check-in: cbe0993402 user: js tags: trunk
2022-04-24
11:20
zshrc: Use -isysroot for `cross ios` check-in: c51ad6649c user: js tags: trunk
2022-04-20
13:29
mpv.conf: Save position check-in: 31698c19f4 user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to zshrc.

480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
			local sdk="$(xcrun --show-sdk-path --sdk $sdk_type)"
			local archs="${@:2}"

			if [ ${(w)#archs} = 0 ]; then
				archs="$default_archs"
			fi

			export CC="clang --sysroot $sdk"
			export CPP="clang -E --sysroot $sdk"
			export CXX="clang++ --sysroot $sdk"
			export CXXPP="clang++ -E -=sysroot $sdk"

			for arch in $=archs; do
				export CC="$CC -arch $arch"
				export CXX="$CXX -arch $arch"
			done
			export CPP="$CPP -arch $archs[(w)1]"
			export CXXPP="$CXXPP -arch $archs[(w)1]"







|
|
|
|







480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
			local sdk="$(xcrun --show-sdk-path --sdk $sdk_type)"
			local archs="${@:2}"

			if [ ${(w)#archs} = 0 ]; then
				archs="$default_archs"
			fi

			export CC="clang -isysroot $sdk"
			export CPP="clang -E -isysroot $sdk"
			export CXX="clang++ -isysroot $sdk"
			export CXXPP="clang++ -E -isysroot $sdk"

			for arch in $=archs; do
				export CC="$CC -arch $arch"
				export CXX="$CXX -arch $arch"
			done
			export CPP="$CPP -arch $archs[(w)1]"
			export CXXPP="$CXXPP -arch $archs[(w)1]"