diff --git a/hecl/extern/boo b/hecl/extern/boo index 2135f4e4d..3e1da36f3 160000 --- a/hecl/extern/boo +++ b/hecl/extern/boo @@ -1 +1 @@ -Subproject commit 2135f4e4dc6ee7fa5a2b6398b97632dc5af9c822 +Subproject commit 3e1da36f390b4ddbc3a48977906c1f69f009614a diff --git a/hecl/lib/Compilers.cpp b/hecl/lib/Compilers.cpp index 67213f40b..c850c0094 100644 --- a/hecl/lib/Compilers.cpp +++ b/hecl/lib/Compilers.cpp @@ -177,7 +177,11 @@ struct ShaderCompiler { close(compilerIn[1]); execlp("xcrun", "xcrun", "-sdk", "macosx", "metal", "-o", "/dev/stdout", "-Wno-unused-variable", - "-Wno-unused-const-variable", "-Wno-unused-function", "-c", "-x", "metal", "-", NULL); + "-Wno-unused-const-variable", "-Wno-unused-function", "-c", "-x", "metal", +#ifndef NDEBUG + "-gline-tables-only", "-MO", +#endif + "-", NULL); fprintf(stderr, "execlp fail %s\n", strerror(errno)); exit(1); }