Hey all, I’m trying to build my package for EPEL and got a strange error

clang-11: error: argument unused during compilation: 
'-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' 
[-Werror,-Wunused-command-line-argument]
clang-11: error: argument unused during compilation: 
'-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' 
[-Werror,-Wunused-command-line-argument]

https://kojipkgs.fedoraproject.org//work/tasks/653/69120653/build.log

The relevant section of the spec file is:

%build
export CXX=clang++
export CC=clang
%cmake -G Ninja .
%cmake_build

Is this a bug, or something I’m doing wrong? If it is a bug I’d be happy to 
file a ticket in Bugzilla, but I’m not sure which project to file it under.

Ron
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to