From: kub Date: Fri, 24 Nov 2023 17:50:12 +0000 (+0100) Subject: build, fix cross compiling under osx X-Git-Tag: v2.00~156 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b24b6b74c2e5c7fb09ff2c2a89e2c0a37a123a5;p=picodrive.git build, fix cross compiling under osx --- diff --git a/Makefile b/Makefile index 1120f8bb..2ab08f59 100644 --- a/Makefile +++ b/Makefile @@ -350,7 +350,7 @@ endif ifneq ($(findstring gcc,$(CC)),) ifneq ($(findstring SunOS,$(shell uname -a)),SunOS) -ifeq ($(findstring Darwin,$(shell uname -a)),Darwin) +ifneq ($(findstring clang,$(shell $(CC) -v 2>&1)),) LDFLAGS += -Wl,-map,$(TARGET).map else LDFLAGS += -Wl,-Map=$(TARGET).map