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

Unified Diff: build/secondary/third_party/libjpeg_turbo/BUILD.gn

Issue 1954903002: [Sheriff] Build libjpeg_turbo in PIC mode for x86 and x64. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ELF Created 4 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/secondary/third_party/libjpeg_turbo/BUILD.gn
diff --git a/build/secondary/third_party/libjpeg_turbo/BUILD.gn b/build/secondary/third_party/libjpeg_turbo/BUILD.gn
index 39a44e52540d1a9941b094cf90054ea33f7c5733..f584ec0df596dbe9f6db0e6235fc263cd2c5bb08 100644
--- a/build/secondary/third_party/libjpeg_turbo/BUILD.gn
+++ b/build/secondary/third_party/libjpeg_turbo/BUILD.gn
@@ -53,7 +53,10 @@ if (current_cpu == "x86" || current_cpu == "x64") {
"simd/jquanti-sse2.asm",
"simd/jsimdcpu.asm",
]
- defines += [ "__x86__" ]
+ defines += [
+ "__x86__",
+ "PIC",
+ ]
} else if (current_cpu == "x64") {
sources = [
"simd/jccolor-sse2-64.asm",
@@ -73,7 +76,10 @@ if (current_cpu == "x86" || current_cpu == "x64") {
"simd/jquantf-sse2-64.asm",
"simd/jquanti-sse2-64.asm",
]
- defines += [ "__x86_64__" ]
+ defines += [
+ "__x86_64__",
+ "PIC",
+ ]
}
if (is_win) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698