notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b592b3
)
try to fix apple build
author
notaz
<notasas@gmail.com>
Sat, 26 Oct 2024 20:12:21 +0000
(23:12 +0300)
committer
notaz
<notasas@gmail.com>
Sun, 27 Oct 2024 19:17:51 +0000
(21:17 +0200)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index
1219b09
..
f3730ee
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-24,7
+24,8
@@
LDFLAGS += -fsanitize=address
endif
ifneq ($(NO_FSECTIONS), 1)
CFLAGS += -ffunction-sections -fdata-sections
-LDFLAGS += -Wl,--gc-sections
+FSECTIONS_LDFLAGS ?= -Wl,--gc-sections
+LDFLAGS += $(FSECTIONS_LDFLAGS)
endif
CFLAGS += -DP_HAVE_MMAP=$(if $(NO_MMAP),0,1) \
-DP_HAVE_PTHREAD=$(if $(NO_PTHREAD),0,1) \