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

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') | printing/cups_config_helper.py » ('J')
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 7911ae9b4d763fd5f7b5cf71369c586c5fc823fc..a9eb2e9aa6edd5353c25606d27a103e595a06939 100644
--- a/build/linux/system.gyp
+++ b/build/linux/system.gyp
@@ -741,7 +741,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') | printing/cups_config_helper.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698