Skip to content

Instantly share code, notes, and snippets.

@phodina
Last active December 6, 2022 08:17
Show Gist options
  • Save phodina/fcdeee7792fbe09cb0ffa9c05fc89d8a to your computer and use it in GitHub Desktop.
Save phodina/fcdeee7792fbe09cb0ffa9c05fc89d8a to your computer and use it in GitHub Desktop.
Patch for Poky 4.1.1 to fix arguments for GCC
--- a/configure 2022-12-06 07:12:47.477308820 +0100
+++ b/configure 2022-12-06 07:12:55.930754682 +0100
@@ -5726,7 +5726,7 @@
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
set X $ac_compile
ac_compiler=$2
-for ac_option in --version -v -V -qversion -version; do
+for ac_option in --version -v -version; do
{ { ac_try="$ac_compiler $ac_option >&5"
case "(($ac_try" in
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment