Index: build/gyp_v8 |
diff --git a/build/gyp_v8 b/build/gyp_v8 |
index 92e6503925cda4c72245821bff6061c9dd593429..40c377de61581239d6f0d208171553c54fe6b54d 100755 |
--- a/build/gyp_v8 |
+++ b/build/gyp_v8 |
@@ -167,5 +167,9 @@ if __name__ == '__main__': |
# Generate for the architectures supported on the given platform. |
gyp_args = list(args) |
if platform.system() == 'Linux': |
+ # --generator-output defines where the Makefile goes. |
gyp_args.append('--generator-output=out') |
+ # -Goutput_dir defines where the build output goes, relative to the |
+ # Makefile. Set it to . so that the build output doesn't end up in out/out. |
+ gyp_args.append('-Goutput_dir=.') |
run_gyp(gyp_args) |