[libc-commits] [libc] 1c241bb - [libc] Missing FEnvImpl.h dependency on math.h

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Sat Jul 1 11:27:47 PDT 2023


Author: Petr Hosek
Date: 2023-07-01T18:27:36Z
New Revision: 1c241bb791f9ce34dae2020ba56b5f2e136c613a

URL: https://github.com/llvm/llvm-project/commit/1c241bb791f9ce34dae2020ba56b5f2e136c613a
DIFF: https://github.com/llvm/llvm-project/commit/1c241bb791f9ce34dae2020ba56b5f2e136c613a.diff

LOG: [libc] Missing FEnvImpl.h dependency on math.h

FEnvImpl.h includes math.h and so needs an explicit dependency.

Differential Revision: https://reviews.llvm.org/D154044

Added: 
    

Modified: 
    libc/src/__support/FPUtil/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/src/__support/FPUtil/CMakeLists.txt b/libc/src/__support/FPUtil/CMakeLists.txt
index 3a6b6de1cfc893..9b6cd2d6e521ec 100644
--- a/libc/src/__support/FPUtil/CMakeLists.txt
+++ b/libc/src/__support/FPUtil/CMakeLists.txt
@@ -4,6 +4,7 @@ add_header_library(
     FEnvImpl.h
   DEPENDS
     libc.include.fenv
+    libc.include.math
     libc.src.__support.macros.attributes
 )
 


        


More information about the libc-commits mailing list