Hi,
I'm trying to cross compile content_shell from chromium-38.0.2106.0 with clang.
It fails with the following errors:
clang: warning: argument unused during compilation: '-mfpu=neon'
clang: warning: argument unused during compilation: '-mfloat-abi=hard'
clang: warning: argument unused during compilation: '-mthumb'
error: unknown target CPU 'armv7-a'
So it objects about args known by gcc, but not by clang.
The export command line:
export "GYP_DEFINES=target_arch=arm arm_float_abi=hard disable_nacl=1 use_aura=1 use_ash=0 toolkit_views=0 use_ozone=1 ozone_platform_caca=0 ozone_platform_gbm=0 ozone_platform_dri=0 ozone_platform_egltest=1 ozone_platform_test=1 embedded=1 use_pango=0 use_cairo=0 werror='' clang=1 use_x11=0 arm=1 gcc=0"
"export GYP_CROSSCOMPILE=1
CC, C++ and so on are not set:
unset CC;unset CXX;unset AR;unset CC_host;unset CXX_host
Any idea, what's going wrong here?