aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.osx
diff options
context:
space:
mode:
authorummjackson <[email protected]>2014-01-23 19:30:28 +1100
committerummjackson <[email protected]>2014-01-23 19:30:28 +1100
commit4d5e616b96f2f2bfdaf181e1c18dda87c5a6af4c (patch)
treef8ce760bdce68640f01ce662d0beadc75ffa59d6 /src/makefile.osx
parentLitecoin clean up + removed stray thumbs.db (diff)
downloaddiscoin-4d5e616b96f2f2bfdaf181e1c18dda87c5a6af4c.tar.xz
discoin-4d5e616b96f2f2bfdaf181e1c18dda87c5a6af4c.zip
Bringing /src/ up to speed with 0.8.6.2
Diffstat (limited to 'src/makefile.osx')
-rw-r--r--src/makefile.osx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/makefile.osx b/src/makefile.osx
index b0805be99..deab964e7 100644
--- a/src/makefile.osx
+++ b/src/makefile.osx
@@ -68,6 +68,9 @@ else
DEBUGFLAGS = -g
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
CFLAGS += -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter \
$(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)