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#44210 - [llvm] PKGBUILD: enabling debug build
Attached to Project:
Arch Linux
Opened by Kirill Gagarski (gagarski) - Monday, 16 March 2015, 14:21 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 16 March 2015, 16:26 GMT
Opened by Kirill Gagarski (gagarski) - Monday, 16 March 2015, 14:21 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 16 March 2015, 16:26 GMT
|
DetailsHi!
It seems like it's supposed to pass "--enable-optimized" or "--disable-optimized" to LLVM's ./configure based on "strip" makepkg option. Probably this code is supposed to do that: # Apply strip option to configure _optimized_switch="enable" [[ $(check_option strip) == n ]] && _optimized_switch="disable" However adding '!strip' to PKGBUILD options does not disable LLVM optimized build (probably because check_option signature has been sometimes changed). This code would disable/enable optimized buld correctly: # Apply strip option to configure _optimized_switch="enable" check_option "strip" "n" && _optimized_switch="disable" |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Monday, 16 March 2015, 16:26 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in /trunk; --enable-optimized is no longer based on the PKGBUILD options and is always passed to ./configure.
Monday, 16 March 2015, 16:26 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in /trunk; --enable-optimized is no longer based on the PKGBUILD options and is always passed to ./configure.
https://lists.archlinux.org/pipermail/arch-commits/2015-March/273102.html