[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
Loading
Please sign in to comment