~dlh/armagetronad/os-x-toolkit

« back to all changes in this revision

Viewing changes to os-x-toolkit.rb

  • Committer: Daniel Lee Harple
  • Date: 2013-10-27 19:04:57 UTC
  • Revision ID: leeharple@gmail.com-20131027190457-h4q7669bkbo0e310
Use libc++

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
  end
234
234
 
235
235
  def cxxflags(arch)
236
 
    flags = ["-arch", arch]
 
236
    flags = ["-arch", arch, "-stdlib=libc++"]
237
237
    flags += ["-isysroot", @sdk] if !@sdk.empty?
238
238
    flags << "-mmacosx-version-min=#{@version_min}" if !@version_min.empty?
239
239
    return flags