Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#67790 - [zsh-theme-powerlevel10k] internal libgit2 fork built with debug configuration
Attached to Project:
Community Packages
Opened by Robert Cegliński (codicodi) - Tuesday, 01 September 2020, 11:19 GMT
Last edited by freswa (frederik) - Tuesday, 01 September 2020, 23:03 GMT
Opened by Robert Cegliński (codicodi) - Tuesday, 01 September 2020, 11:19 GMT
Last edited by freswa (frederik) - Tuesday, 01 September 2020, 23:03 GMT
|
DetailsWhen compiling package, one encounters a wall of warnings like:
/usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) This is because default configuration in CMakeLists.txt[1] is Debug and Arch's -O2 gets overriden with -O0. Attached patch fixes this issue by passing -DCMAKE_BUILD_TYPE=None to CMake invocation. Package version: 1.12.0-3 [1] https://github.com/romkatv/libgit2/blob/master/CMakeLists.txt#L274-L276 |
This task depends upon
Wiki explains all the details pretty well: https://wiki.archlinux.org/title/CMake_package_guidelines#Fixing_the_automatic_optimization_flag_override