Only ask for WAMR-specific build options for WAMR builds
This commit is contained in:
@ -152,9 +152,9 @@ sub build {
|
||||
rmtree($bd);
|
||||
make_path($bd);
|
||||
copy_auxiliary( $module, $bd );
|
||||
build_libiwasm( $module, $bd, $target );
|
||||
|
||||
if ( $mode eq 'aot' || $mode eq 'interp' ) {
|
||||
build_libiwasm( $module, $bd, $target );
|
||||
compile_wasm_module( $module, $bd );
|
||||
if ( $mode eq 'aot' ) {
|
||||
compile_wasm_aot( $module, $bd, $target );
|
||||
|
||||
Reference in New Issue
Block a user