mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:07:46 +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
2 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue