[oe,meta-browser] chromium: Disable use_sysroot

Message ID 20170803164326.11187-1-raj.khem@gmail.com
State New
Headers show

Commit Message

Khem Raj Aug. 3, 2017, 4:43 p.m.
This variable is required to be unset so that we
can tell the system that we are using a different
newer C++ runtime library than the sysroot which
helps in compiling with clang also

Fixes link errors like
undefined reference to '__atomic_is_lock_free'

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 recipes-browser/chromium/files/aarch64/oe-defaults.gypi | 1 +
 recipes-browser/chromium/files/armv6/oe-defaults.gypi   | 1 +
 recipes-browser/chromium/files/armv7a/oe-defaults.gypi  | 1 +
 recipes-browser/chromium/files/armv7ve/oe-defaults.gypi | 1 +
 recipes-browser/chromium/files/x86-64/oe-defaults.gypi  | 1 +
 recipes-browser/chromium/files/x86/oe-defaults.gypi     | 1 +
 6 files changed, 6 insertions(+)

-- 
2.13.4

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/recipes-browser/chromium/files/aarch64/oe-defaults.gypi b/recipes-browser/chromium/files/aarch64/oe-defaults.gypi
index 27e1cfe..3862e58 100644
--- a/recipes-browser/chromium/files/aarch64/oe-defaults.gypi
+++ b/recipes-browser/chromium/files/aarch64/oe-defaults.gypi
@@ -11,5 +11,6 @@ 
     'use_cups': 0,
     'use_gnome_keyring': 0,
     'linux_link_gnome_keyring': 0
+    'use_sysroot': 0,
   }, 
 }
diff --git a/recipes-browser/chromium/files/armv6/oe-defaults.gypi b/recipes-browser/chromium/files/armv6/oe-defaults.gypi
index 27e1cfe..3862e58 100644
--- a/recipes-browser/chromium/files/armv6/oe-defaults.gypi
+++ b/recipes-browser/chromium/files/armv6/oe-defaults.gypi
@@ -11,5 +11,6 @@ 
     'use_cups': 0,
     'use_gnome_keyring': 0,
     'linux_link_gnome_keyring': 0
+    'use_sysroot': 0,
   }, 
 }
diff --git a/recipes-browser/chromium/files/armv7a/oe-defaults.gypi b/recipes-browser/chromium/files/armv7a/oe-defaults.gypi
index 27e1cfe..3862e58 100644
--- a/recipes-browser/chromium/files/armv7a/oe-defaults.gypi
+++ b/recipes-browser/chromium/files/armv7a/oe-defaults.gypi
@@ -11,5 +11,6 @@ 
     'use_cups': 0,
     'use_gnome_keyring': 0,
     'linux_link_gnome_keyring': 0
+    'use_sysroot': 0,
   }, 
 }
diff --git a/recipes-browser/chromium/files/armv7ve/oe-defaults.gypi b/recipes-browser/chromium/files/armv7ve/oe-defaults.gypi
index 27e1cfe..3862e58 100644
--- a/recipes-browser/chromium/files/armv7ve/oe-defaults.gypi
+++ b/recipes-browser/chromium/files/armv7ve/oe-defaults.gypi
@@ -11,5 +11,6 @@ 
     'use_cups': 0,
     'use_gnome_keyring': 0,
     'linux_link_gnome_keyring': 0
+    'use_sysroot': 0,
   }, 
 }
diff --git a/recipes-browser/chromium/files/x86-64/oe-defaults.gypi b/recipes-browser/chromium/files/x86-64/oe-defaults.gypi
index 0a6e8e8..9f858d4 100644
--- a/recipes-browser/chromium/files/x86-64/oe-defaults.gypi
+++ b/recipes-browser/chromium/files/x86-64/oe-defaults.gypi
@@ -11,5 +11,6 @@ 
     'use_cups': 0,
     'use_gnome_keyring': 0,
     'linux_link_gnome_keyring': 0,
+    'use_sysroot': 0,
   }, 
 }
diff --git a/recipes-browser/chromium/files/x86/oe-defaults.gypi b/recipes-browser/chromium/files/x86/oe-defaults.gypi
index 0a6e8e8..9f858d4 100644
--- a/recipes-browser/chromium/files/x86/oe-defaults.gypi
+++ b/recipes-browser/chromium/files/x86/oe-defaults.gypi
@@ -11,5 +11,6 @@ 
     'use_cups': 0,
     'use_gnome_keyring': 0,
     'linux_link_gnome_keyring': 0,
+    'use_sysroot': 0,
   }, 
 }