Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package android-tools for openSUSE:Factory checked in at 2022-10-14 15:42:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/android-tools (Old) and /work/SRC/openSUSE:Factory/.android-tools.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "android-tools" Fri Oct 14 15:42:39 2022 rev:6 rq:1010605 version:33.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/android-tools/android-tools.changes 2022-09-26 18:48:44.376114991 +0200 +++ /work/SRC/openSUSE:Factory/.android-tools.new.2275/android-tools.changes 2022-10-14 15:43:57.464060513 +0200 @@ -1,0 +2,6 @@ +Fri Oct 14 04:59:40 UTC 2022 - mun...@googlemail.com + +- Switch to clang/llvm because of build errors with gcc12 and the + new 6.0 kernel headers (recent gcc env for Leap still required) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ android-tools.spec ++++++ --- /var/tmp/diff_new_pack.ecdoj5/_old 2022-10-14 15:43:58.100061575 +0200 +++ /var/tmp/diff_new_pack.ecdoj5/_new 2022-10-14 15:43:58.108061589 +0200 @@ -39,9 +39,11 @@ Patch1: fix-mkbootimg-gki-path.patch # PATCH-FIX-UPSTREAM fix-lpmake-help-segfault.patch gh#nmeum/android-tools#73 Patch2: fix-lpmake-help-segfault.patch +BuildRequires: clang BuildRequires: cmake >= 3.12 BuildRequires: go BuildRequires: gtest +BuildRequires: llvm-gold BuildRequires: ninja BuildRequires: pcre2-devel BuildRequires: pkgconfig @@ -62,8 +64,6 @@ %if 0%{?suse_version} <= 1500 BuildRequires: gcc11 BuildRequires: gcc11-c++ -%else -BuildRequires: gcc-c++ %endif %description @@ -107,12 +107,8 @@ %build %define __builder ninja -%if 0%{?suse_version} <= 1500 -export CC=gcc-11 -export CXX=g++-11 -%endif -export CFLAGS="%{optflags} -Wno-return-type" -export CXXFLAGS="$CFLAGS" +export CC=clang +export CXX=clang++ export GOFLAGS="-mod=vendor -buildmode=pie -trimpath" %cmake -DBUILD_SHARED_LIBS:BOOL=OFF