mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
Ports/bc: Update bc to version 5.2.3
Also added the recommended CFLAGS.
This commit is contained in:
parent
4c1d8a7785
commit
7952af9b6d
Notes:
sideshowbarker
2024-07-17 12:03:43 +09:00
Author: https://github.com/EWouters Commit: https://github.com/SerenityOS/serenity/commit/7952af9b6d Pull-request: https://github.com/SerenityOS/serenity/pull/13395 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/timschumi
2 changed files with 4 additions and 2 deletions
|
@ -9,7 +9,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
|
|||
| [`bash`](bash/) | GNU Bash | 5.1.16 | https://www.gnu.org/software/bash/ |
|
||||
| [`awk`](awk/) | The One True Awk | 20220122 | https://github.com/onetrueawk/awk |
|
||||
| [`bass`](bass/) | Beneath a Steel Sky | cd-1.2 | https://www.scummvm.org/games |
|
||||
| [`bc`](bc/) | bc | 5.1.1 | https://github.com/gavinhoward/bc |
|
||||
| [`bc`](bc/) | bc | 5.2.3 | https://github.com/gavinhoward/bc |
|
||||
| [`bdwgc`](bdwgc/) | Boehm-Demers-Weiser Garbage Collector (libgc) | 8.0.6 | https://github.com/ivmai/bdwgc |
|
||||
| [`binutils`](binutils/) | GNU Binutils | 2.38 | https://www.gnu.org/software/binutils/ |
|
||||
| [`bison`](bison/) | GNU Bison | 1.25 | https://www.gnu.org/software/bison/ |
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=bc
|
||||
version=5.1.1
|
||||
version=5.2.3
|
||||
files="https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz bc-${version}.tar.xz
|
||||
https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz.sig bc-${version}.tar.xz.sig"
|
||||
useconfigure=true
|
||||
|
@ -10,6 +10,8 @@ auth_import_key="E2A30324A4465A4D5882692EC08038BDF280D33E"
|
|||
auth_opts=("bc-${version}.tar.xz.sig")
|
||||
configopts=("--prefix=/usr/local" "--disable-nls")
|
||||
|
||||
export CFLAGS="-O3 -flto"
|
||||
|
||||
configure() {
|
||||
run env HOSTCC=gcc ./"$configscript" "${configopts[@]}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue