diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-06 13:38:25 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-06 13:38:25 -0800 |
commit | c6839090999bf0e70104f35c1b935d5ab3189c50 (patch) | |
tree | 180fd16ee27f1ec8655ecfeaaf7c9fe9651e71f0 | |
parent | 72291a246855c9d3cb3dd8f8ccd0cf513f91442c (diff) |
apply EMMAKEN_CFLAGS directly to commandline, not just to clang calls, so that we can parse it in emcc and e.g. disable vectorization as necessary
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -687,7 +687,7 @@ if os.environ.get('EMMAKEN_CXX'): CC_ADDITIONAL_ARGS = shared.COMPILER_OPTS EMMAKEN_CFLAGS = os.environ.get('EMMAKEN_CFLAGS') -if EMMAKEN_CFLAGS: CC_ADDITIONAL_ARGS += shlex.split(EMMAKEN_CFLAGS) +if EMMAKEN_CFLAGS: sys.argv += shlex.split(EMMAKEN_CFLAGS) # ---------------- Utilities --------------- |