• rmcilroy@chromium.org's avatar
    Reland "Remove erroneous uses of CXX / CXX_target / CXX_host from gyp." · e6936f21
    rmcilroy@chromium.org authored
    The current gyp config tries to test whether the compiler is an arm / mips
    compiler and whether it supports -m32 / -m64 based on a test within gyp.
    Unfortunately CXX / CXX_target / CXX_host are no no longer set early enough
    in gyp for this to work, and so all of these tests were actually being done
    using "$(which g++)" rather than the appropriate CXX_target / CXX_host compiler.
    
    This change removes these dynamic tests and instead bases the decisions on
    knowledge of the host / target / v8_target architecture combination.  The
    the -m32/-m64 flags are set based on host_cxx_is_biarch / target_cxx_is_biarch,
    which are set to reasonable defaults of only ia32/x64 or clang compilers
    being build for biarch support.  The host_cxx_is_biarch / target_cxx_is_biarch
    variables can be overriden if required.
    
    Original Review URL: https://codereview.chromium.org/382343003
    TBR=jkummerow@chromium.org
    
    BUG=384474
    LOG=NO
    
    Review URL: https://codereview.chromium.org/400573002
    
    git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22444 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    e6936f21
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.DEPS.git Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
Makefile.nacl Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...