Skip to content

Commit b7dd86e

Browse files
committed
Experimental ABI fix to deal with '__cxx11'
1 parent d2dd3d3 commit b7dd86e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ if (APPLE)
4141
# If you still get errors compiling with GCC 4.8, mac headers need to be patched: http://hamelot.co.uk/programming/osx-gcc-dispatch_block_t-has-not-been-declared-invalid-typedef/
4242
set_property(GLOBAL PROPERTY JUCE_MAC "JUCE_MAC")
4343
add_definitions(-DNDEBUG)
44+
add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0)
4445
set(EXTENSION "mm")
45-
4646
set(JUCE_PLATFORM_SPECIFIC_DIR build/macosx/platform_specific_code)
4747
set(JUCE_PLATFORM_SPECIFIC_LIBRARIES "-framework Carbon -framework Cocoa -framework CoreFoundation -framework CoreAudio -framework CoreMidi -framework IOKit -framework AGL -framework AudioToolbox -framework QuartzCore -lobjc -framework Accelerate")
4848
endif()

0 commit comments

Comments
 (0)