Real fix. enable lto and remove useless depends

I lost my eyes, forget to remove duplicate CMAKE_BUILD_TYPE. lol.
This commit is contained in:
Akatsuki Rui
2024-02-05 09:58:59 +08:00
parent 827fb58442
commit efc7002c12
2 changed files with 0 additions and 7 deletions

View File

@@ -12,12 +12,10 @@ pkgbase = fish-git
checkdepends = expect checkdepends = expect
checkdepends = procps-ng checkdepends = procps-ng
makedepends = cargo makedepends = cargo
makedepends = clang
makedepends = cmake makedepends = cmake
makedepends = git makedepends = git
makedepends = python-sphinx makedepends = python-sphinx
depends = glibc depends = glibc
depends = gcc-libs
depends = ncurses depends = ncurses
depends = pcre2 depends = pcre2
optdepends = python: man page completion parser / web config tool optdepends = python: man page completion parser / web config tool
@@ -26,7 +24,6 @@ pkgbase = fish-git
provides = fish-shell provides = fish-shell
conflicts = fish conflicts = fish
conflicts = fish-shell conflicts = fish-shell
options = !lto
backup = etc/fish/config.fish backup = etc/fish/config.fish
source = git+https://github.com/fish-shell/fish-shell.git source = git+https://github.com/fish-shell/fish-shell.git
b2sums = SKIP b2sums = SKIP

View File

@@ -16,7 +16,6 @@ url="http://fishshell.com"
license=('GPL2') license=('GPL2')
depends=( depends=(
'glibc' 'glibc'
'gcc-libs'
'ncurses' 'ncurses'
'pcre2' 'pcre2'
) )
@@ -26,7 +25,6 @@ optdepends=(
) )
makedepends=( makedepends=(
'cargo' 'cargo'
'clang'
'cmake' 'cmake'
'git' 'git'
'python-sphinx' 'python-sphinx'
@@ -35,7 +33,6 @@ checkdepends=(
'expect' 'expect'
'procps-ng' 'procps-ng'
) )
options=('!lto')
provides=( provides=(
'fish' 'fish'
'fish-shell' 'fish-shell'
@@ -64,7 +61,6 @@ build() {
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_BUILD_TYPE=None \
-DBUILD_DOCS=True \ -DBUILD_DOCS=True \
-Wno-dev -Wno-dev
make -C build make -C build