From 829243f059fc1351492c5bc7456c6c8e5d78fee1 Mon Sep 17 00:00:00 2001 From: Robert Bendun Date: Sun, 18 Sep 2022 16:42:39 +0200 Subject: [PATCH] statically linking libstdc++; recursive cloninng --- config.mk | 2 +- scripts/release | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.mk b/config.mk index 1f01122..4f82686 100644 --- a/config.mk +++ b/config.mk @@ -9,4 +9,4 @@ DEBUG_FLAGS=-O0 -ggdb -fsanitize=undefined -DDebug CXX=g++ LDFLAGS=-L./lib/midi/ -LDLIBS=-lmidi-alsa -lasound -lpthread +LDLIBS=-lmidi-alsa -lasound -lpthread -static-libgcc -static-libstdc++ diff --git a/scripts/release b/scripts/release index 33f06de..f936f6d 100755 --- a/scripts/release +++ b/scripts/release @@ -27,7 +27,7 @@ lowdown -s doc/functions.md -m "title:Lista funkcji języka Musique" -o "$Target echo "Copy source code" -git clone --quiet --depth=1 "$(git remote -v | awk '{ print $2 }' | head -n1)" "$Target"/source_code +git clone --recursive --quiet --depth=1 "$(git remote -v | awk '{ print $2 }' | head -n1)" "$Target"/source_code rm -rf "$Target"/source_code/.git echo "Boundle it all up"