From aef6dcdbc9a91fdf86d826e05c3f91423ca3cfe9 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 a75fe2656..d7a8345cd 100644 --- a/src/Makefile +++ b/src/Makefile @@ -244,9 +244,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 @@ -279,7 +278,7 @@ opts+=-fsanitize=undefined libs+=-fsanitize=undefined endif -ifeq ($(CC),clang) +ifneq (,$(filter $(CC) $(CXX),clang clang++)) libs+=-fuse-ld=lld endif