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

Unified Diff: build/linux/system.gyp

Issue 202633008: Fix linker warning on build with target_arch=ia32. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 | printing/cups_config_helper.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/linux/system.gyp
diff --git a/build/linux/system.gyp b/build/linux/system.gyp
index 92db5ff79dd1a9ca6b249f9fcc3ae356a7092e25..197c4f2b824d50e4e9d23e6f81960e3ad6f60df1 100644
--- a/build/linux/system.gyp
+++ b/build/linux/system.gyp
@@ -743,7 +743,10 @@
},
'link_settings': {
'libraries': [
- '<!@(<(libgcrypt-config) --libs)',
+ # libgcrypt-config does not support --libs-only-l options,
+ # and the result contains -L options, which shouldn't be in
+ # the entries of 'libraries'. So filter them out.
+ '<!@(<(libgcrypt-config) --libs | sed -e \'s/-L[^ ]*//g\')',
],
},
}],
« no previous file with comments | « no previous file | printing/cups_config_helper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698