DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit 34952157be7db5e01c58266431aab253b59f9259
parent c7e4ac43f5228cee69b2453d95e56859d7912a50
Author: falkTX <falktx@falktx.com>
Date:   Fri, 14 Apr 2023 12:27:29 +0200

Fix previous commit

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
MMakefile.base.mk | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Makefile.base.mk b/Makefile.base.mk @@ -35,10 +35,12 @@ DPF_MAKEFILE_BASE_INCLUDED = true # --------------------------------------------------------------------------------------------------------------------- # Auto-detect target compiler if not defined -ifeq ($(shell echo -e escaped-by-default | grep -- '-e escaped-by-default'),-e escaped-by-default) -TARGET_COMPILER = $(shell echo '#ifdef __clang__\nclang\n#else\ngcc\n#endif' | $(CC) -E -P -x c - 2>/dev/null) -else +ifneq ($(shell echo -e escaped-by-default | grep -- '-e escaped-by-default'),-e escaped-by-default) +TARGET_COMPILER = $(shell echo -e '#ifdef __clang__\nclang\n#else\ngcc\n#endif' | $(CC) -E -P -x c - 2>/dev/null) +else ifeq ($(shell echo '\#escaped-by-default' | grep -- '\#escaped-by-default'),\#escaped-by-default) TARGET_COMPILER = $(shell echo '\#ifdef __clang__\nclang\n\#else\ngcc\n\#endif' | $(CC) -E -P -x c - 2>/dev/null) +else +TARGET_COMPILER = $(shell echo '#ifdef __clang__\nclang\n#else\ngcc\n#endif' | $(CC) -E -P -x c - 2>/dev/null) endif ifneq ($(CLANG),true)