Skip to content

Commit 55a68be

Browse files
committed
templates/12-autosetup.sh: do not pass --target for optenv*
Autosetup sources (such as SQLite) does not tend to supply this flag, passing `--target' would cause errors during configuration.
1 parent e70adb2 commit 55a68be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/12-autosetup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ build_autosetup_configure() {
2626
AUTOSETUP_TARGET=("${AUTOTOOLS_TARGET[@]}")
2727
elif [[ "$ABHOST" = optenv* ]]
2828
then
29-
AUTOSETUP_TARGET=("--host=${ARCH_TARGET[$ABHOST]}" "--target=${ARCH_TARGET[$ABHOST]}" "--build=${ARCH_TARGET[$ABHOST]}"
29+
AUTOSETUP_TARGET=("--host=${ARCH_TARGET[$ABHOST]}" "--build=${ARCH_TARGET[$ABHOST]}"
3030
"CC=$CC" "CXX=$CXX" "OBJC=$OBJC" "OBJCXX=$OBJCXX" LD="$LD")
3131
elif [[ "$ABHOST" != "$ABBUILD" ]]
3232
then

0 commit comments

Comments
 (0)