configs  Diff

Differences From Artifact [c82f434faf]:

To Artifact [c114ba1090]:


467
468
469
470
471
472
473



474
475
476
477
478
479
480
		if [ -z "$prefix" ]; then
			echo "Please install $pkg from pkgsrc!" 1>&2
			return 1
		fi

		export PATH="$prefix/cross-djgpp/bin:$PATH"
		export cross_host="i586-pc-msdosdjgpp"



		;;
	ios | iossim)
		if ! __has_command xcrun; then
			echo -n "Can only cross-compile for iOS " 1>&2
			echo "on a Mac with Xcode!" 1>&2
			return 1
		fi







>
>
>







467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
		if [ -z "$prefix" ]; then
			echo "Please install $pkg from pkgsrc!" 1>&2
			return 1
		fi

		export PATH="$prefix/cross-djgpp/bin:$PATH"
		export cross_host="i586-pc-msdosdjgpp"
		local build="$(LC_ALL=C gcc -v 2>&1 |
		               awk '/^Target:/ { print $2 }')"
		export objfw_configure_flags="--build=$build"
		;;
	ios | iossim)
		if ! __has_command xcrun; then
			echo -n "Can only cross-compile for iOS " 1>&2
			echo "on a Mac with Xcode!" 1>&2
			return 1
		fi