diff --git a/CMakeLists.txt b/CMakeLists.txt index ec635be8f6bd5..77d3e252623f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -640,15 +640,15 @@ endif() message("Cross compiling ....................... ${cross_status}") message("Preprocessor defined macros ........... ${definitions}") message("C compiler ............................ ${CMAKE_C_COMPILER_ID} ${CMAKE_C_COMPILER_VERSION}, ${CMAKE_C_COMPILER}") -message("CFLAGS ................................ ${CMAKE_C_FLAGS}") +message("CFLAGS ................................ ${CMAKE_C_FLAGS} ${APPEND_CPPFLAGS} ${APPEND_CFLAGS}") message("C++ compiler .......................... ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}, ${CMAKE_CXX_COMPILER}") -message("CXXFLAGS .............................. ${CMAKE_CXX_FLAGS}") +message("CXXFLAGS .............................. ${CMAKE_CXX_FLAGS} ${APPEND_CPPFLAGS} ${APPEND_CXXFLAGS}") get_target_interface(common_compile_options core_interface COMPILE_OPTIONS) message("Common compile options ................ ${common_compile_options}") get_target_interface(common_link_options core_interface LINK_OPTIONS) message("Common link options ................... ${common_link_options}") -message("Linker flags for executables .......... ${CMAKE_EXE_LINKER_FLAGS}") -message("Linker flags for shared libraries ..... ${CMAKE_SHARED_LINKER_FLAGS}") +message("Linker flags for executables .......... ${CMAKE_EXE_LINKER_FLAGS} ${APPEND_LDFLAGS}") +message("Linker flags for shared libraries ..... ${CMAKE_SHARED_LINKER_FLAGS} ${APPEND_LDFLAGS}") print_config_flags() message("Attempt to harden executables ......... ${HARDENING}") message("Treat compiler warnings as errors ..... ${WERROR}")