From b42021ba5d45c29e22cbdd887e2fae5a1c1334a1 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Fri, 15 Nov 2024 13:59:58 -0500 Subject: [PATCH] Build Fixes --- qemu/CMakeLists.txt | 4 +--- src/pipe/main.cpp | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/qemu/CMakeLists.txt b/qemu/CMakeLists.txt index cc2c0a7..23b96be 100644 --- a/qemu/CMakeLists.txt +++ b/qemu/CMakeLists.txt @@ -34,7 +34,6 @@ ExternalProject_Add(qemu "--disable-debug-info" "--enable-strip" "--enable-pie" - "--enable-lto" "-Db_staticpic=true" "-Db_lundef=false" "--target-list=arm-linux-user" @@ -47,9 +46,8 @@ ExternalProject_Add(qemu USES_TERMINAL_BUILD TRUE # Patch Command PATCH_COMMAND "patch" "-p1" "<" "${CMAKE_CURRENT_SOURCE_DIR}/runtime.patch" - # Disable Other Commands + # Disable Install Command INSTALL_COMMAND "" - TEST_COMMAND "" ) # Get Full Library Path diff --git a/src/pipe/main.cpp b/src/pipe/main.cpp index 266335c..7e66f28 100644 --- a/src/pipe/main.cpp +++ b/src/pipe/main.cpp @@ -39,6 +39,7 @@ int PipeImplementation::main(const int argc, char *argv[]) { #ifdef MCPI_HAS_QEMU return QEMU::run(argc, argv); #else + (void) argc; execvp(argv[0], (char *const *) argv); ERR("Unable To Execute Program: %s: %s", argv[0], strerror(errno)); #endif