diff options
| -rw-r--r-- | cmake/Platforms/x86_64.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/Platforms/x86_64.cmake b/cmake/Platforms/x86_64.cmake index 76ba0509..2cbf18b1 100644 --- a/cmake/Platforms/x86_64.cmake +++ b/cmake/Platforms/x86_64.cmake @@ -22,6 +22,7 @@ set(CMAKE_CXX_FLAGS_INIT "-fno-use-cxa-atexit" "-ffunction-sections" "-fdata-sections" + "-ffreestanding" ) list(JOIN CMAKE_CXX_FLAGS_INIT " " CMAKE_CXX_FLAGS_INIT) |
