diff options
author | Andreas Fankhauser hiddenalpha.ch | 2023-09-29 01:02:46 +0200 |
---|---|---|
committer | Andreas Fankhauser hiddenalpha.ch | 2023-09-29 01:02:46 +0200 |
commit | a63dfdd054ec94bc88bf46f742d8dbed4d246c0c (patch) | |
tree | 96543b428f5b1a3b32c76e1fa8754fc4e5cae5d8 | |
parent | 85991c6cead3939fdeb4c9960bd574fdbdb8a4fa (diff) | |
download | gateleen-resclone-a63dfdd054ec94bc88bf46f742d8dbed4d246c0c.zip gateleen-resclone-a63dfdd054ec94bc88bf46f742d8dbed4d246c0c.tar.gz |
(qemu) Cleanup
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | contrib/build-env-setup/README.md | 8 |
2 files changed, 6 insertions, 7 deletions
@@ -3,7 +3,7 @@ CC ?=gcc LD ?=ld AR ?=ar -BINEXT ?= .elf +BINEXT ?= LIBSEXT ?= .a TOOLCHAIN ?= lxGcc64 @@ -26,7 +26,7 @@ LDFLAGS ?= -Wl,--no-demangle,--fatal-warnings ifndef NDEBUG CFLAGS := $(CFLAGS) -ggdb -O0 -g3 else - CFLAGS := $(CFLAGS) -ffunction-sections -fdata-sections -O2 "-DNDEBUG=1" + CFLAGS := $(CFLAGS) -ffunction-sections -fdata-sections -Os "-DNDEBUG=1" LDFLAGS := $(LDFLAGS) -Wl,--gc-sections,--as-needed endif @@ -44,6 +44,7 @@ ifeq ($(BINEXT),.exe) LPCREPOSIX := -lpcreposix endif +.SILENT: default: dist diff --git a/contrib/build-env-setup/README.md b/contrib/build-env-setup/README.md index 89fcb01..e1007e3 100644 --- a/contrib/build-env-setup/README.md +++ b/contrib/build-env-setup/README.md @@ -59,9 +59,8 @@ computer. Setup environ vars according to your chosen build system. Here are few examlpes: ### Config for debian -####### automake autoconf libtool true \ - && PKGS_TO_ADD="git make gcc libc6-dev cmake autoconf automake libtool m4" \ + && PKGS_TO_ADD="git make gcc ca-certificates libc6-dev cmake autoconf automake libtool m4" \ && PKGS_TO_DEL="cmake autoconf automake libtool m4" \ && SUDO=sudo \ && PKGINIT="$SUDO apt update" \ @@ -96,7 +95,7 @@ true \ && LIBARCHIVE_BINTGZ="${LIBARCHIVE_SRCTGZ%.*}-bin.tgz" \ \ && ${PKGINIT:?} && ${PKGADD:?} $PKGS_TO_ADD \ - && printf '\n Download Dependency Sources\n\n' + && printf '\n Download Dependency Sources\n\n' \ && if test ! -e "${CJSON_SRCTGZ:?}"; then true \ && echo "Download ${CJSON_URL:?}" \ && curl -sSLo "${CJSON_SRCTGZ:?}" "${CJSON_URL:?}" \ @@ -145,7 +144,7 @@ true \ && cd /tmp && rm -rf "libarchive-${LIBARCHIVE_VERSION:?}" \ && $SUDO tar -C /usr/local -xzf "${LIBARCHIVE_BINTGZ:?}" \ );fi \ - && if test ! -e "${CURL_BINTGZ:?}"; then (true + && if test ! -e "${CURL_BINTGZ:?}"; then (true \ && printf '\n Build curl\n\n' \ && cd /tmp \ && tar xf "${CURL_SRCTGZ:?}" \ @@ -159,7 +158,6 @@ true \ && rm -rf "curl-curl-${CURL_VERSION_UGLY:?}" \ && $SUDO tar -C /usr/local -xzf "${CURL_BINTGZ:?}" \ );fi \ - && printf '\n Build project itself\n\n' \ && mkdir -p "${WORKDIR:?}" && cd "${WORKDIR:?}" \ && git clone --depth 42 --branch "${GIT_TAG:?}" https://github.com/hiddenalpha/GateleenResclone.git . \ |