From dadf0366c127a6ab6871f3e5e9fbc37b8ebb97b3 Mon Sep 17 00:00:00 2001 From: mkststrahilov <31239587+mkststrahilov@users.noreply.github.com> Date: Sun, 2 Apr 2023 03:08:07 +0200 Subject: [PATCH] Update prepare.sh to resolve gcc error during CRAS compile Fix for #4923 --- installer/prepare.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/installer/prepare.sh b/installer/prepare.sh index f928d6e15..7fde3d668 100755 --- a/installer/prepare.sh +++ b/installer/prepare.sh @@ -223,6 +223,11 @@ convert_automake() { # Concatenate lines ending in \ : start; /\\$/{N; b start} s/ *\\\n[ \t]*/ /g + # Fix for #4932 + s/\-Wundef\-prefix=HAVE_,CRAS_//g + s/-Wundef\-prefix=HAVE_,CRAS_//g + s/\-Werror=undef-prefix//g + s/-Werror=undef-prefix//g # Convert automake to shell s/^[^ ]*:/#\0/ s/^\t/#\0/