[libc-commits] [libc] [libc] Include CheckCXXCompilerFlag when checking compiler features (PR #118862)

Tristan Ross via libc-commits libc-commits at lists.llvm.org
Thu Dec 5 11:37:04 PST 2024


https://github.com/RossComputerGuy updated https://github.com/llvm/llvm-project/pull/118862

>From 0984c8911c4177a78b87e49e0612cf8a74f56b32 Mon Sep 17 00:00:00 2001
From: Tristan Ross <tristan.ross at midstall.com>
Date: Thu, 5 Dec 2024 11:31:46 -0800
Subject: [PATCH] [libc] Include CheckCXXCompilerFlag when checking compiler
 features

---
 libc/cmake/modules/CheckCompilerFeatures.cmake | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libc/cmake/modules/CheckCompilerFeatures.cmake b/libc/cmake/modules/CheckCompilerFeatures.cmake
index 862c7ecbd7fdf4..20d9b854ac08e9 100644
--- a/libc/cmake/modules/CheckCompilerFeatures.cmake
+++ b/libc/cmake/modules/CheckCompilerFeatures.cmake
@@ -2,6 +2,8 @@
 # Compiler features definition and flags
 # ------------------------------------------------------------------------------
 
+include(CheckCXXCompilerFlag)
+
 set(
   ALL_COMPILER_FEATURES
     "builtin_ceil_floor_rint_trunc"



More information about the libc-commits mailing list