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

Unified Diff: printing/cups_config_helper.py

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 | « build/linux/system.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/cups_config_helper.py
diff --git a/printing/cups_config_helper.py b/printing/cups_config_helper.py
index 3fe5fe04e1abd4e7292d818ec028f50c8031f252..976054f84dbe8b1bd2cd1522647fd50cab1097c7 100755
--- a/printing/cups_config_helper.py
+++ b/printing/cups_config_helper.py
@@ -46,6 +46,11 @@ def run_cups_config(mode):
if flag_mode is None or flag_mode == mode:
flags_subset.append(flag)
+ # Note: cross build is confused by the option, and may trigger linker
+ # warning causing build error.
+ if '-lgnutls' in flags_subset:
+ flags_subset.remove('-lgnutls')
+
return flags_subset
« no previous file with comments | « build/linux/system.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698