On Sun, 4 Apr 2021, 21:53 Germano Massullo, <germano.massullo@xxxxxxxxx> wrote:
Good day, I am creating a spec file [0] for memleax memory leaks
analyzer [1], but during build [2] I am getting error "invalid option:
--build=x86_64-redhat-linux-gnu.". Where can be the problem?
Thank you
[0]: https://pagure.io/memleax/blob/master/f/memleax.spec
[1]: https://github.com/WuBingzheng/memleax
[2]: https://copr.fedorainfracloud.org/coprs/germano/memleax/build/2114611/
The GitHub repo you linked at [1] doesn't seem to have any autotools-based build systems, so you shouldn't use the %configure macro. It looks like it uses CMake, so you should instead use the %cmake_* macros to configure/build/install.
-Ian
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure