[libc-commits] [libc] 46c8275 - [libc][NFC] Remove extra slash in path in libc/CMakeLists.txt

Joe Loser via libc-commits libc-commits at lists.llvm.org
Mon Oct 25 13:28:35 PDT 2021


Author: Joe Loser
Date: 2021-10-25T16:26:49-04:00
New Revision: 46c82753f6a41ce289947b25fb5c65138764f7b3

URL: https://github.com/llvm/llvm-project/commit/46c82753f6a41ce289947b25fb5c65138764f7b3
DIFF: https://github.com/llvm/llvm-project/commit/46c82753f6a41ce289947b25fb5c65138764f7b3.diff

LOG: [libc][NFC] Remove extra slash in path in libc/CMakeLists.txt

Remove extra `/` in path to match the include filepath from the previous
line.

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

Added: 
    

Modified: 
    libc/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/CMakeLists.txt b/libc/CMakeLists.txt
index bfab38e5c3ff6..234e932e832ab 100644
--- a/libc/CMakeLists.txt
+++ b/libc/CMakeLists.txt
@@ -95,7 +95,7 @@ include(${entrypoint_file})
 if(EXISTS "${LIBC_SOURCE_DIR}/config/${LIBC_TARGET_OS}/${LIBC_TARGET_ARCHITECTURE}/headers.txt")
   include("${LIBC_SOURCE_DIR}/config/${LIBC_TARGET_OS}/${LIBC_TARGET_ARCHITECTURE}/headers.txt")
 elseif(EXISTS "${LIBC_SOURCE_DIR}/config/${LIBC_TARGET_OS}/headers.txt")
-  include("${LIBC_SOURCE_DIR}/config/${LIBC_TARGET_OS}//headers.txt")
+  include("${LIBC_SOURCE_DIR}/config/${LIBC_TARGET_OS}/headers.txt")
 endif()
 
 set(TARGET_ENTRYPOINT_NAME_LIST "")


        


More information about the libc-commits mailing list