From acc05daa9a7e415cce4d3fc80def22ad67748add Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 20 Oct 2025 19:21:59 +0200 Subject: [PATCH] handle ceepeepee --- src/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index ef56bcb33..dbeb0e6d5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -254,9 +254,8 @@ ifdef STATIC libs+=-static endif -ifeq ($(CC),gcc) +ifneq (,$(filter $(CC) $(CXX),gcc g++)) opts+=-mno-ms-bitfields - libs+=-mno-ms-bitfields endif # build with profiling information @@ -289,7 +288,7 @@ opts+=-fsanitize=undefined libs+=-fsanitize=undefined endif -ifeq ($(CC),clang) +ifneq (,$(filter $(CC) $(CXX),clang clang++)) libs+=-fuse-ld=lld endif