Build Fixes
This commit is contained in:
parent
bf46eaf1c5
commit
b42021ba5d
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user