Skip to content

Commit

Permalink
Provide -stdlib argument in CCFLAGS on OSX.
Browse files Browse the repository at this point in the history
The build server seems to be using libstdc++ headers for compiling and
libc++ linking which leads to build failures.
  • Loading branch information
rryan committed Sep 8, 2015
1 parent 97c9e2e commit 8b01bbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/mixxx.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,10 @@ def setup_osx_platform_sdk(self):
print "Automatically selected OS X SDK:", sdk_path

common_flags = ['-isysroot', sdk_path,
'-mmacosx-version-min=%s' % min_sdk_version]
'-mmacosx-version-min=%s' % min_sdk_version,
'-stdlib=%s' % osx_stdlib]
link_flags = [
'-Wl,-syslibroot,' + sdk_path,
'-stdlib=%s' % osx_stdlib
]
self.env.Append(CCFLAGS=common_flags)
self.env.Append(LINKFLAGS=common_flags + link_flags)
Expand Down

0 comments on commit 8b01bbe

Please sign in to comment.