From e12b4fabeb0ce3ce6d256b54250cf38a8f940561 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Mon, 6 Mar 2023 15:17:09 +0100 Subject: 2023-03-06 14:47:00 --- source/luametatex/cmake/mingw-64-ucrt.cmake | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 source/luametatex/cmake/mingw-64-ucrt.cmake (limited to 'source/luametatex/cmake/mingw-64-ucrt.cmake') diff --git a/source/luametatex/cmake/mingw-64-ucrt.cmake b/source/luametatex/cmake/mingw-64-ucrt.cmake new file mode 100644 index 000000000..c5f3915ff --- /dev/null +++ b/source/luametatex/cmake/mingw-64-ucrt.cmake @@ -0,0 +1,14 @@ +# if (NOT __MINGW64_TOOLCHAIN_) +# add_compile_options(-DLUASOCKET_INET_PTON) +# endif() + +set(CMAKE_SYSTEM_NAME Windows) +set(TOOLCHAIN_PREFIX x86_64-w64-mingw32ucrt) +set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc) + +add_compile_options(-mtune=nocona) + +set(LUAMETATEX_MINGW 64) +set(LUAMETATEX_NOLDL 1) + +# set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc") -- cgit v1.2.3