~chromium-team/chromium-browser/yakkety-dev

« back to all changes in this revision

Viewing changes to debian/patches/no-fPIC.patch

  • Committer: Olivier Tilloy
  • Date: 2017-04-24 16:40:34 UTC
  • Revision ID: olivier.tilloy@canonical.com-20170424164034-27jjfp18c683x8o7
* debian/patches/swiftshader-no-fPIC.patch: removed
* debian/patches/no-fPIC.patch: added

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: When building with GCC < 5.0, do not enable position-independent code
 
2
 See https://software.intel.com/en-us/blogs/2014/12/26/new-optimizations-for-x86-in-upcoming-gcc-50-32bit-pic-mode for details
 
3
Author: Olivier Tilloy <olivier.tilloy@canonical.com>
 
4
 
 
5
--- a/build/config/compiler/compiler.gni
 
6
+++ b/build/config/compiler/compiler.gni
 
7
@@ -63,7 +63,7 @@ declare_args() {
 
8
   linkrepro_root_dir = ""
 
9
 
 
10
   # Whether or not we should use position independent code.
 
11
-  use_pic = true
 
12
+  use_pic = false
 
13
 }
 
14
 
 
15
 # Whether to emit frame pointers by default.