Chromium Code Reviews| Index: chrome/test/data/nacl/nacl_test_data.gyp |
| diff --git a/chrome/test/data/nacl/nacl_test_data.gyp b/chrome/test/data/nacl/nacl_test_data.gyp |
| index ea5e198cde0f3a5b8971e9d2d0648e2fef286092..71949d1d7b776405776bf44cedc1d27ce79918ca 100644 |
| --- a/chrome/test/data/nacl/nacl_test_data.gyp |
| +++ b/chrome/test/data/nacl/nacl_test_data.gyp |
| @@ -1139,6 +1139,11 @@ |
| # Stack-Smashing protector does not work with libc-free context. |
| '-fno-stack-protector', |
| + # Optimizers may translate the original code to code which |
|
hamaji
2014/07/11 07:46:16
Sorry, the previous patch was not sufficient for r
|
| + # requires builtin functions and/or relocations. Actually, |
|
Mark Seaborn
2014/07/11 16:27:24
Nit: 'Actually' -> 'Specifically', perhaps?
hamaji
2014/07/11 18:34:36
Done.
|
| + # the LLVM's optimizer translates for-loop based zero |
| + # clear to memset. |
| + '-O0', |
| ], |
| 'cflags!': [ |
| # We filter these out because release_extra_cflags or another |
| @@ -1148,10 +1153,14 @@ |
| '-fstack-protector-all', |
| '-fprofile-generate', |
| '-finstrument-functions', |
| + '-O2', |
| ], |
| 'ldflags': [ |
| '-nostdlib', |
| '-shared', |
| + # This binary cannot relocate itself, so we should have no |
| + # undefined references left. |
| + '-Wl,--no-undefined', |
| ], |
| 'ldflags!': [ |
| # Explicitly remove the -pthread flag to avoid a link time warning. |