linux: Build with -fPIC on all arches but x86 32-bit.

I will watch the bots to see if this affects performance.

BUG=26625
TEST=compiles

Review URL: http://codereview.chromium.org/3501001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@61208 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
evan@chromium.org 2010-10-01 18:56:11 +00:00
Родитель 0979f396df
Коммит 396bc33350
1 изменённых файлов: 10 добавлений и 6 удалений

Просмотреть файл

@ -93,6 +93,14 @@
}, {
'use_gnome_keyring%': 1,
}],
# Set to 1 compile with -fPIC cflag on linux. This is a must for shared
# libraries on linux x86-64 and arm.
['host_arch=="ia32"', {
'linux_fpic%': 0,
}, {
'linux_fpic%': 1,
}],
],
'host_arch%': '<(host_arch)',
@ -101,7 +109,7 @@
# building on.
'target_arch%': '<(host_arch)',
# Copy conditionally-set chromeos and touchui variables out one scope.
# Copy conditionally-set variables out one scope.
'chromeos%': '<(chromeos)',
'touchui%': '<(touchui)',
@ -114,10 +122,6 @@
# compilation.
'fastbuild%': 0,
# Set to 1 compile with -fPIC cflag on linux. This is a must for shared
# libraries on linux x86-64 and arm.
'linux_fpic%': 0,
# Python version.
'python_ver%': '2.5',
@ -154,11 +158,11 @@
'host_arch%': '<(host_arch)',
'toolkit_views%': '<(toolkit_views)',
'use_gnome_keyring%': '<(use_gnome_keyring)',
'linux_fpic%': '<(linux_fpic)',
'chromeos%': '<(chromeos)',
'touchui%': '<(touchui)',
'inside_chromium_build%': '<(inside_chromium_build)',
'fastbuild%': '<(fastbuild)',
'linux_fpic%': '<(linux_fpic)',
'python_ver%': '<(python_ver)',
'armv7%': '<(armv7)',
'arm_neon%': '<(arm_neon)',