Build Fixes
This commit is contained in:
parent
bf46eaf1c5
commit
b42021ba5d
@ -34,7 +34,6 @@ ExternalProject_Add(qemu
|
|||||||
"--disable-debug-info"
|
"--disable-debug-info"
|
||||||
"--enable-strip"
|
"--enable-strip"
|
||||||
"--enable-pie"
|
"--enable-pie"
|
||||||
"--enable-lto"
|
|
||||||
"-Db_staticpic=true"
|
"-Db_staticpic=true"
|
||||||
"-Db_lundef=false"
|
"-Db_lundef=false"
|
||||||
"--target-list=arm-linux-user"
|
"--target-list=arm-linux-user"
|
||||||
@ -47,9 +46,8 @@ ExternalProject_Add(qemu
|
|||||||
USES_TERMINAL_BUILD TRUE
|
USES_TERMINAL_BUILD TRUE
|
||||||
# Patch Command
|
# Patch Command
|
||||||
PATCH_COMMAND "patch" "-p1" "<" "${CMAKE_CURRENT_SOURCE_DIR}/runtime.patch"
|
PATCH_COMMAND "patch" "-p1" "<" "${CMAKE_CURRENT_SOURCE_DIR}/runtime.patch"
|
||||||
# Disable Other Commands
|
# Disable Install Command
|
||||||
INSTALL_COMMAND ""
|
INSTALL_COMMAND ""
|
||||||
TEST_COMMAND ""
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Get Full Library Path
|
# Get Full Library Path
|
||||||
|
@ -39,6 +39,7 @@ int PipeImplementation::main(const int argc, char *argv[]) {
|
|||||||
#ifdef MCPI_HAS_QEMU
|
#ifdef MCPI_HAS_QEMU
|
||||||
return QEMU::run(argc, argv);
|
return QEMU::run(argc, argv);
|
||||||
#else
|
#else
|
||||||
|
(void) argc;
|
||||||
execvp(argv[0], (char *const *) argv);
|
execvp(argv[0], (char *const *) argv);
|
||||||
ERR("Unable To Execute Program: %s: %s", argv[0], strerror(errno));
|
ERR("Unable To Execute Program: %s: %s", argv[0], strerror(errno));
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user