From e979931d995fd36c419ffd880937e1e0667696ab Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Mon, 31 Jan 2022 00:26:33 -0600 Subject: [PATCH] Update build process --- .drone.yml | 2 +- build-linux.sh | 2 +- build-win.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index a081b1f..b6a4898 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,7 @@ type: docker steps: - name: build - image: debian + image: debian:stable-slim commands: - apt-get update - apt-get upgrade -y diff --git a/build-linux.sh b/build-linux.sh index c18a592..9272853 100755 --- a/build-linux.sh +++ b/build-linux.sh @@ -1,3 +1,3 @@ #!/bin/bash mkdir -p bin/ -g++ main.cpp -o bin/modlimitfix --std=c++17 +g++ main.cpp -o bin/modlimitfix -std=c++17 -lstdc++ -static diff --git a/build-win.sh b/build-win.sh index 7a79887..8d54639 100755 --- a/build-win.sh +++ b/build-win.sh @@ -1,4 +1,4 @@ #!/bin/bash mkdir -p bin/ # Use MINGW for cross-compilation -x86_64-w64-mingw32-g++ main.cpp -o bin/modlimitfix.exe -std=c++17 --static +x86_64-w64-mingw32-g++ main.cpp -o bin/modlimitfix.exe -std=c++17 -lstdc++ -static