aboutsummaryrefslogtreecommitdiff
path: root/INSTALL.bridge
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-07-11 13:57:58 -0700
committerBen Pfaff <blp@nicira.com>2011-07-11 13:58:08 -0700
commit643c0c3491764075e8b21239fd88a2bdae4b8417 (patch)
tree3a89517bb970aaccbf611d1e9a73a45ed839a754 /INSTALL.bridge
parentf948cd95244c87365089c17ca9caed3db06aafe3 (diff)
configure: Pass correct -target option to "cgcc" in the common case.
The "cgcc" script included with sparse guesses the target architecture based on the host architecture instead of based on the GCC architecture. This means that it often guesses wrong on biarch systems, e.g. my Linux kernel is x86_64 but userspace is i686 and thus GCC targets i686 by default. This fixes the problem by passing an explicit "-target=i86" to cgcc if GCC targets x86 or "-target=x86_64" if GCC targets x86_64. Bug #6312. Reported-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'INSTALL.bridge')
0 files changed, 0 insertions, 0 deletions