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

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