search for: target_64_bit_cflags

Displaying 1 result from an estimated 1 matches for "target_64_bit_cflags".

Did you mean: target_32_bit_cflags
2014 Sep 24
2
[LLVMdev] [compiler-rt] cmake fails to configure for AArh64
...ure. The reason: cmake passes the -m64 option to aarch64-linux-gnu-g++, which the compiler does not need and doesn't understand as the option is redundant for AArch64. I tracked down where -m64 was originating from and found the following in compiler-rt/CMakeLists.txt: if (NOT MSVC) set(TARGET_64_BIT_CFLAGS "-m64") set(TARGET_32_BIT_CFLAGS "-m32") else() set(TARGET_64_BIT_CFLAGS "") set(TARGET_32_BIT_CFLAGS "") endif() After the line with -m64 is commented out, cmake can complete the configuration and I am able to cross compile the whole LLVM. Could...