From a9e5b9a33e451ce7e1724da0d1b78e5aa8860223 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 14 Feb 2022 18:10:21 +0000 Subject: [PATCH] Fix last commit Signed-off-by: falkTX --- .github/workflows/build.yml | 2 +- Makefile | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0929f985..0d67ee68 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -397,7 +397,7 @@ jobs: $(pwd)/deps/mod-plugin-builder/bootstrap.sh modduo-static minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh modduo-static - name: Build for modduo run: | - make modduo HEADLESS=true WITH_LTO=true -j $(nproc) + make modduo HEADLESS=true WITH_LTO=true MODDUO=true -j $(nproc) - name: Set sha8 id: slug run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)" diff --git a/Makefile b/Makefile index 4441e9d7..fbb8b281 100644 --- a/Makefile +++ b/Makefile @@ -111,8 +111,11 @@ endif # -------------------------------------------------------------- # MOD builds -EXTRA_MOD_FLAGS = -I../include/single-precision -fsingle-precision-constant -mno-unaligned-access +EXTRA_MOD_FLAGS = -I../include/single-precision -fsingle-precision-constant +ifeq ($(MODDUO),true) +EXTRA_MOD_FLAGS += -mno-unaligned-access +endif ifeq ($(WITH_LTO),true) EXTRA_MOD_FLAGS += -ffat-lto-objects endif