Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Unified Diff: net/net_perftests.scons

Issue 10857: Add OPT=1 flag to build optimized on Linux. (Closed)
Patch Set: alles ist gut Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/host_resolver_unittest.cc ('k') | third_party/dmg_fp/dmg_fp.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/net_perftests.scons
diff --git a/net/net_perftests.scons b/net/net_perftests.scons
index 773fb5809b02ea81ee55d2b715011a3f6018dfa9..0c276ac3afee9e463a958d01c38eb8952b784ae0 100644
--- a/net/net_perftests.scons
+++ b/net/net_perftests.scons
@@ -57,6 +57,11 @@ if env['PLATFORM'] == 'win32':
'/nxcompat',
],
)
+elif env['PLATFORM'] == 'posix':
+ env.Append(
+ # TODO(port): disk_cache_perftest breaks strict aliasing rules.
+ CCFLAGS = ['-fno-strict-aliasing'],
+ )
input_files = [
'base/cookie_monster_perftest.cc',
« no previous file with comments | « net/base/host_resolver_unittest.cc ('k') | third_party/dmg_fp/dmg_fp.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698