mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
Update makefile.osx to prevent some compiling errors under osx 10.9
osx 10.9 changed the default stdlib to libc++. You may need to compile with libstdc++ to prevent some errors. At the same time, boost should be compiled use a cxxflag '-stdlib=libstdc++'
This commit is contained in:
parent
e955fa8971
commit
4a96ed8039
@ -67,6 +67,9 @@ else
|
|||||||
DEBUGFLAGS = -g
|
DEBUGFLAGS = -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# osx 10.9 has changed the stdlib default to libc++. To prevent some link error, you may need to use libstdc++
|
||||||
|
CFLAGS += -stdlib=libstdc++
|
||||||
|
|
||||||
# ppc doesn't work because we don't support big-endian
|
# ppc doesn't work because we don't support big-endian
|
||||||
CFLAGS += -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter \
|
CFLAGS += -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter \
|
||||||
$(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
|
$(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
|
||||||
|
Loading…
Reference in New Issue
Block a user