]> git.baikalelectronics.ru Git - kernel.git/commit
x86, build: Globally set -fno-pic
authorAndrew Boie <andrew.p.boie@intel.com>
Fri, 10 Aug 2012 18:49:06 +0000 (11:49 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 10 Aug 2012 23:12:30 +0000 (16:12 -0700)
commitdbd95745b113b01e11f872fb2247cbd5215232da
tree69bbb6e3226d966e59aae0814eaccd8bd41ab1f0
parent39ecfc0cca17bb4610b4d2ac2e694ea0bfe83dab
x86, build: Globally set -fno-pic

GCC built with nonstandard options can enable -fpic by default.
We never want this for 32-bit kernels and it will break the build.

[ hpa: Notably the Android toolchain apparently does this. ]

Change-Id: Iaab7d66e598b1c65ac4a4f0229eca2cd3d0d2898
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
Link: http://lkml.kernel.org/r/1344624546-29691-1-git-send-email-andrew.p.boie@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/Makefile
arch/x86/boot/Makefile
arch/x86/realmode/rm/Makefile