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

Unified Diff: src/native_client/site_scons/site_tools/target_platform_windows.py

Issue 6031015: Fix the "opt-win" build on Visual Studio 10.0 (Closed)
Patch Set: Created 9 years, 12 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/native_client/site_scons/site_tools/target_platform_windows.py
diff --git a/src/native_client/site_scons/site_tools/target_platform_windows.py b/src/native_client/site_scons/site_tools/target_platform_windows.py
index 5957593c3610a06eca083e0b1e9055626fb66dd4..75431396863e1f2632465baed66e5f22c5bf68bf 100755
--- a/src/native_client/site_scons/site_tools/target_platform_windows.py
+++ b/src/native_client/site_scons/site_tools/target_platform_windows.py
@@ -404,7 +404,9 @@ def generate(env):
'/MT', # link with LIBCMT.LIB (multi-threaded, static linked crt)
'/GS', # enable security checks
],
- LINKFLAGS_OPTIMIZED=['/PDBPATH:none'],
+ # Omit the absolute pathname of the .pdb debugging info file
+ # from the executable, and just use a relative pathname.
+ LINKFLAGS_OPTIMIZED=['/PDBALTPATH:%_PDB%'],
# Settings for component_builders
COMPONENT_LIBRARY_LINK_SUFFIXES=['.lib'],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698