mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-05-20 07:26:58 -04:00
Build pkg in docker
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export OFFLINE = @OFFLINE@
|
||||
export OFFLINE = @OFFLINE@ BUILD_FE=0
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
@@ -25,7 +25,7 @@ build() {
|
||||
# Must unset the CFLAGS, otherwise the build fails
|
||||
unset CFLAGS
|
||||
|
||||
make build OFFLINE=@OFFLINE@
|
||||
make build OFFLINE=@OFFLINE@ BUILD_FE=0
|
||||
}
|
||||
|
||||
package() {
|
||||
|
@@ -35,7 +35,9 @@ A GUI for GlobalProtect VPN, based on OpenConnect, supports the SSO authenticati
|
||||
%setup
|
||||
|
||||
%build
|
||||
make build OFFLINE=@OFFLINE@
|
||||
# The injected RUSTFLAGS could fail the build
|
||||
unset RUSTFLAGS
|
||||
make build OFFLINE=@OFFLINE@ BUILD_FE=0
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
Reference in New Issue
Block a user