https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1d1a21a9202380e371bae200ee498dadefe6b2fc
commit 1d1a21a9202380e371bae200ee498dadefe6b2fc Author: Jérôme Gardou <jerome.gar...@reactos.org> AuthorDate: Fri Apr 9 19:21:25 2021 +0200 Commit: Jérôme Gardou <zefk...@users.noreply.github.com> CommitDate: Wed Apr 28 13:10:23 2021 +0200 [SDK] Make sure we build pefixup with AMD64 definitions --- sdk/tools/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk/tools/CMakeLists.txt b/sdk/tools/CMakeLists.txt index 3b6bf1368f0..3f836f8e9bf 100644 --- a/sdk/tools/CMakeLists.txt +++ b/sdk/tools/CMakeLists.txt @@ -40,5 +40,8 @@ if(NOT MSVC) add_subdirectory(rsym) add_host_tool(pefixup pefixup.c) +if (ARCH STREQUAL "amd64") + target_compile_definitions(pefixup PRIVATE _TARGET_PE64) +endif() target_link_libraries(pefixup PRIVATE host_includes) endif()