From: Thomas Petazzoni Date: Sat, 22 Oct 2016 14:44:06 +0000 (+0200) Subject: toolchainfile.cmake: fix description of CMAKE_Fortran_FLAGS_{DEBUG,RELEASE} X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d2407b3e72b86807983f56c3b2ccdc1bec3a29b;p=buildroot.git toolchainfile.cmake: fix description of CMAKE_Fortran_FLAGS_{DEBUG,RELEASE} Signed-off-by: Thomas Petazzoni --- diff --git a/support/misc/toolchainfile.cmake.in b/support/misc/toolchainfile.cmake.in index 8674653b69..e095356b79 100644 --- a/support/misc/toolchainfile.cmake.in +++ b/support/misc/toolchainfile.cmake.in @@ -57,8 +57,8 @@ set(ENV{PKG_CONFIG_SYSROOT_DIR} "${RELOCATED_HOST_DIR}/@@STAGING_SUBDIR@@") set(CMAKE_C_COMPILER "${RELOCATED_HOST_DIR}/@@TARGET_CC@@") set(CMAKE_CXX_COMPILER "${RELOCATED_HOST_DIR}/@@TARGET_CXX@@") if(@@TOOLCHAIN_HAS_FORTRAN@@) - set(CMAKE_Fortran_FLAGS_DEBUG "" CACHE STRING "Debug CFLAGS") - set(CMAKE_Fortran_FLAGS_RELEASE " -DNEBUG" CACHE STRING "Release CFLAGS") + set(CMAKE_Fortran_FLAGS_DEBUG "" CACHE STRING "Debug Fortran FLAGS") + set(CMAKE_Fortran_FLAGS_RELEASE " -DNEBUG" CACHE STRING "Release Fortran FLAGS") set(CMAKE_Fortran_FLAGS "@@TARGET_FCFLAGS@@" CACHE STRING "Buildroot FCFLAGS") set(CMAKE_Fortran_COMPILER "${RELOCATED_HOST_DIR}/@@TARGET_FC@@") endif()