https://bugzilla.redhat.com/show_bug.cgi?id=1916936



--- Comment #8 from Ron Olson <[email protected]> ---
I added %global _hardened_build 0 based on
https://fedoraproject.org/wiki/Changes/Harden_All_Packages#Troubleshooting_steps_for_package_maintainers
to the top of the file, then modified the spec file to use the cmake macros and
got exactly the same errors. 

gcc doesn't work because of the difference in flags. For example, when trying
to build it with gcc you immediately get:

cc: error: unrecognized command-line option ‘-Warray-bounds-pointer-arithmetic’
cc: error: unrecognized command-line option ‘-Wassign-enum’
cc: error: unrecognized command-line option ‘-Watomic-properties’
cc: error: unrecognized command-line option ‘-Wcomma’; did you mean
‘-Wcomment’?
cc: error: unrecognized command-line option ‘-Wconditional-uninitialized’; did
you mean ‘-Wno-uninitialized’?
cc: error: unrecognized command-line option ‘-Wcovered-switch-default’; did you
mean ‘-Wno-switch-default’?
cc: error: unrecognized command-line option ‘-Wdocumentation’
cc: error: unrecognized command-line option ‘-Wduplicate-enum’; did you mean
‘-Wduplicated-cond’?
cc: error: unrecognized command-line option ‘-Widiomatic-parentheses’; did you
mean ‘-Wno-parentheses’?
cc: error: unrecognized command-line option ‘-Winfinite-recursion’
cc: error: unrecognized command-line option ‘-Wnewline-eof’
cc: error: unrecognized command-line option ‘-Wnullable-to-nonnull-conversion’
cc: error: unrecognized command-line option ‘-Wobjc-interface-ivars’
cc: error: unrecognized command-line option ‘-Wover-aligned’
cc: error: unrecognized command-line option ‘-Wshorten-64-to-32’
cc: error: unrecognized command-line option ‘-Wstatic-in-inline’
cc: error: unrecognized command-line option ‘-Wsuper-class-method-mismatch’
cc: error: unrecognized command-line option ‘-Wunguarded-availability’
cc: error: unrecognized command-line option ‘-fblocks’


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

Reply via email to