Skip to content

Commit

Permalink
build, fix cross compiling under osx
Browse files Browse the repository at this point in the history
  • Loading branch information
irixxxx committed Nov 24, 2023
1 parent 575d224 commit 4b24b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b24b6b

Please sign in to comment.