Build Fixes

This commit is contained in:
TheBrokenRail 2024-11-15 13:59:58 -05:00
parent bf46eaf1c5
commit b42021ba5d
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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