f447520 Fix warnings that appear during the build of the llvm package

Authored and Committed by fweimer 10 months ago
    Fix warnings that appear during the build of the llvm package
    
    The package redefines %optflags on i686 and s390x, so the
    %__build_for_lang_* macros are no longer expanded, triggering
    a warning from RPM (“%__build_for_lang_any defined but not
    used within scope”).  Clang warns about -Wno-complain-wrong-lang
    with -Wall, so the warning option is suppressed for
    "%toolchain" != "gcc".
    
    Reported-by: Tulio Magno Quites Machado Filho <tuliom@ascii.art.br>
    
        
  • Build completed
    success
    Built as redhat-rpm-config-261-1.fc39
    10 months ago
  • Build completed
    success
    Built as redhat-rpm-config-261-1.eln127
    10 months ago
file modified
+7 -6
file modified
+4 -1