llvm-project/libc/cmake/modules
Caitlyn Cano a16071e409 [libc] Don't pass -fpie/-ffreestanding on Windows
The current compile options function hardcodes the -fpie and
-ffreestanding flags, which don't exist on Windows. This patch sets the
compilation flags conditionally based on the OS specifics.

Reviewed By: sivachandra, aeubanks

Differential Revision: https://reviews.llvm.org/D105643
2021-07-13 20:39:51 +00:00
..
cpu_features [libc][NFC] Use a end of list marker for cpu feature detection. 2021-01-27 01:24:15 -08:00
LLVMLibCArchitectures.cmake [libc] Normalize LIBC_TARGET_MACHINE 2021-05-05 15:52:42 +00:00
LLVMLibCCheckCpuFeatures.cmake [libc] Simplifies multi implementations 2021-05-12 07:24:53 +00:00
LLVMLibCHeaderRules.cmake [libc] Introduce a full build mode CMake option. 2021-03-12 13:28:40 -08:00
LLVMLibCLibraryRules.cmake [libc] Allow target architecture customization 2021-05-10 07:53:48 +00:00
LLVMLibCObjectRules.cmake [libc] Don't pass -fpie/-ffreestanding on Windows 2021-07-13 20:39:51 +00:00
LLVMLibCRules.cmake [libc] [NFC] Split the CMake rules into multiple files. 2020-04-21 09:24:17 -07:00
LLVMLibCTargetNameUtils.cmake [libc] Add fully-qualified target names. 2020-04-10 18:01:52 -07:00
LLVMLibCTestRules.cmake [libc] Allow target architecture customization 2021-05-10 07:53:48 +00:00