[LLVMdev] CMake does not propagate flags to build

adek at adek.io adek at adek.io
Fri Jul 17 20:41:40 PDT 2015


'-DCMAKE_CXX_FLAGS=-fno-omit-frame-pointer -Wno-maybe-uninitialized
-fPIC -fPIE'
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler:
/home/engshare/third-party2/gcc/4.8.1/centos6-native/cc6c9dc/bin/gcc
-- Check for working C compiler:
/home/engshare/third-party2/gcc/4.8.1/centos6-native/cc6c9dc/bin/gcc --
works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler:
/home/engshare/third-party2/gcc/4.8.1/centos6-native/cc6c9dc/bin/g++
-- Check for working CXX compiler:
/home/engshare/third-party2/gcc/4.8.1/centos6-native/cc6c9dc/bin/g++ --
works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp:
/home/engshare/third-party2/python/2.7.5/centos6-native/da39a3e/bin/python2.7
(found version "2.7.5")
-- Looking for unwind.h
-- Looking for unwind.h - found
-- Performing Test COMPILER_RT_HAS_FPIC_FLAG
-- Performing Test COMPILER_RT_HAS_FPIC_FLAG - Success
-- Performing Test COMPILER_RT_HAS_FPIE_FLAG
-- Performing Test COMPILER_RT_HAS_FPIE_FLAG - Success
-- Performing Test COMPILER_RT_HAS_FNO_BUILTIN_FLAG
-- Performing Test COMPILER_RT_HAS_FNO_BUILTIN_FLAG - Success
-- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG
-- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG - Success
-- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG
-- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG - Success

Is it still related to this:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-March/071394.html


Adrian ZgorzaƂek




More information about the llvm-dev mailing list