| OLD | NEW |
| 1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
| 2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
| 3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
| 4 # met: | 4 # met: |
| 5 # | 5 # |
| 6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
| 7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
| 8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
| 9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
| 10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 GYPFLAGS += -Dsoname_version=$(soname_version) | 80 GYPFLAGS += -Dsoname_version=$(soname_version) |
| 81 endif | 81 endif |
| 82 # werror=no | 82 # werror=no |
| 83 ifeq ($(werror), no) | 83 ifeq ($(werror), no) |
| 84 GYPFLAGS += -Dwerror='' | 84 GYPFLAGS += -Dwerror='' |
| 85 endif | 85 endif |
| 86 # presubmit=no | 86 # presubmit=no |
| 87 ifeq ($(presubmit), no) | 87 ifeq ($(presubmit), no) |
| 88 TESTFLAGS += --no-presubmit | 88 TESTFLAGS += --no-presubmit |
| 89 endif | 89 endif |
| 90 # strictaliasing=off (workaround for GCC-4.5) |
| 91 ifeq ($(strictaliasing), off) |
| 92 GYPFLAGS += -Dv8_no_strict_aliasing=1 |
| 93 endif |
| 90 | 94 |
| 91 # ----------------- available targets: -------------------- | 95 # ----------------- available targets: -------------------- |
| 92 # - "dependencies": pulls in external dependencies (currently: GYP) | 96 # - "dependencies": pulls in external dependencies (currently: GYP) |
| 93 # - any arch listed in ARCHES (see below) | 97 # - any arch listed in ARCHES (see below) |
| 94 # - any mode listed in MODES | 98 # - any mode listed in MODES |
| 95 # - every combination <arch>.<mode>, e.g. "ia32.release" | 99 # - every combination <arch>.<mode>, e.g. "ia32.release" |
| 96 # - "native": current host's architecture, release mode | 100 # - "native": current host's architecture, release mode |
| 97 # - any of the above with .check appended, e.g. "ia32.release.check" | 101 # - any of the above with .check appended, e.g. "ia32.release.check" |
| 98 # - "android": cross-compile for Android/ARM (release mode) | 102 # - "android": cross-compile for Android/ARM (release mode) |
| 99 # - default (no target specified): build all DEFAULT_ARCHES and MODES | 103 # - default (no target specified): build all DEFAULT_ARCHES and MODES |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 else mv $(ENVFILE).new $(ENVFILE); fi | 250 else mv $(ENVFILE).new $(ENVFILE); fi |
| 247 | 251 |
| 248 # Stores current GYPFLAGS in a file. | 252 # Stores current GYPFLAGS in a file. |
| 249 $(ENVFILE).new: | 253 $(ENVFILE).new: |
| 250 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; | 254 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; |
| 251 | 255 |
| 252 # Dependencies. | 256 # Dependencies. |
| 253 dependencies: | 257 dependencies: |
| 254 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 258 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
| 255 --revision 1026 | 259 --revision 1026 |
| OLD | NEW |