mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-18 22:16:18 -05:00
refactor: replace BUILD_GUI with BUILD_GUI_HELPER and simplify build options
This commit is contained in:
6 files changed
+24
-48
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user