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