aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-03-29 21:15:40 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-03-29 21:15:40 -0700
commit62499dc395f8feea46e39a0dc63f616e7d76f3f3 (patch)
tree6d130bac78d5a43b4d412c1efa6cf4caf5ef771c
parentf3bffe4b06fc4afd5c02095ebb53a7e4cb39df9a (diff)
comment
-rwxr-xr-xemcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/emcc b/emcc
index a8b9816e..282cdcd1 100755
--- a/emcc
+++ b/emcc
@@ -360,6 +360,7 @@ for i in range(1, len(sys.argv)):
header = True
if '-M' in sys.argv or '-MM' in sys.argv:
+ # Just output dependencies, do not compile. Warning: clang and gcc behave differently with -MF! (clang seems to not recognize it)
cmd = [CC] + sys.argv[1:]
if DEBUG: print >> sys.stderr, 'emcc, just dependencies: ', ' '.join(cmd)
exit(subprocess.call(cmd))