notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support compiling without posix_memalign() function
[pcsx_rearmed.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
6e9d10c
..
3d33b8c
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-7,7
+7,8
@@
ifndef DEBUG
CFLAGS += -O2 -DNDEBUG
endif
CFLAGS += -DHAVE_MMAP=$(if $(NO_MMAP),0,1) \
CFLAGS += -O2 -DNDEBUG
endif
CFLAGS += -DHAVE_MMAP=$(if $(NO_MMAP),0,1) \
- -DHAVE_PTHREAD=$(if $(NO_PTHREAD),0,1)
+ -DHAVE_PTHREAD=$(if $(NO_PTHREAD),0,1) \
+ -DHAVE_POSIX_MEMALIGN=$(if $(NO_POSIX_MEMALIGN),0,1)
CXXFLAGS += $(CFLAGS)
#DRC_DBG = 1
#PCNT = 1
CXXFLAGS += $(CFLAGS)
#DRC_DBG = 1
#PCNT = 1