fix script breakage
authorPaul Davis <paul@linuxaudiosystems.com>
Sat, 24 May 2014 20:20:58 +0000 (16:20 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Sat, 24 May 2014 20:20:58 +0000 (16:20 -0400)
wscript

diff --git a/wscript b/wscript
index a52dbe3d28cdcfb311a96f6d2db5289546e3984c..3fb33e13c60bd461f770828992b1087f7a8353d9 100644 (file)
--- a/wscript
+++ b/wscript
@@ -148,7 +148,7 @@ def set_compiler_flags (conf,opt):
     # waf adds -O0 -g itself. thanks waf!
     is_clang = conf.env['CXX'][0].endswith('clang++')
     
-    if conf.options.cxx11 or bld.env['build_target'] == 'mavericks':
+    if conf.options.cxx11 or conf.env['build_target'] == 'mavericks':
         conf.check_cxx(cxxflags=["-std=c++11"])
         cxx_flags.append('-std=c++11')
         if platform == "darwin":