refactor: replace BUILD_GUI with BUILD_GUI_HELPER and simplify build options

This commit is contained in:
Kevin Yue committed 2026-05-06 23:20:53 +08:00
1 parent dad4f13f64
commit d01ef9d394
6 files changed
+24 -48

No files matched your search

+1 -3
View File
@@ -1,8 +1,6 @@
#!/usr/bin/make -f
export OFFLINE = @OFFLINE@
export BUILD_FE = 0
export BUILD_GUI = @BUILD_GUI@
export BUILD_GUI_HELPER = @BUILD_GUI_HELPER@
export DISABLE_RUST_TOOLCHAIN = 0
export PATH := /usr/lib/rust-1.85/bin:$(PATH)
+1 -1
View File
@@ -27,7 +27,7 @@ build() {
# Must unset the CFLAGS, otherwise the build fails
unset CFLAGS
make build OFFLINE=@OFFLINE@ BUILD_FE=0
make build
}
package() {
@@ -48,7 +48,7 @@ rm -f %{_bindir}/gpgui
%build
# The injected RUSTFLAGS could fail the build
unset RUSTFLAGS
make build OFFLINE=@OFFLINE@ BUILD_FE=0
make build
%install
%make_install