notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
575d224
)
build, fix cross compiling under osx
author
kub
<derkub@gmail.com>
Fri, 24 Nov 2023 17:50:12 +0000
(18:50 +0100)
committer
kub
<derkub@gmail.com>
Fri, 24 Nov 2023 17:51:32 +0000
(18:51 +0100)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index
1120f8b
..
2ab08f5
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-350,7
+350,7
@@
endif
ifneq ($(findstring gcc,$(CC)),)
ifneq ($(findstring SunOS,$(shell uname -a)),SunOS)
-if
eq ($(findstring Darwin,$(shell uname -a)),Darwin
)
+if
neq ($(findstring clang,$(shell $(CC) -v 2>&1)),
)
LDFLAGS += -Wl,-map,$(TARGET).map
else
LDFLAGS += -Wl,-Map=$(TARGET).map