File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -11967,7 +11967,7 @@ evalcommand(union node *cmd, int flags)
1196711967#if ENABLE_FEATURE_SH_STANDALONE \
1196811968 && ENABLE_FEATURE_SH_NOFORK \
1196911969 && NUM_APPLETS > 1 \
11970- && !(defined(_ARM64_ ) && !defined(_UCRT ) && ENABLE_PLATFORM_MINGW32 )
11970+ && !(( defined(_ARM64_ ) || defined( _ARM_ ) ) && !defined(_UCRT ) && ENABLE_PLATFORM_MINGW32 )
1197111971/* (1) BUG: if variables are set, we need to fork, or save/restore them
1197211972 * around run_nofork_applet() call.
1197311973 * (2) Should this check also be done in forkshell()?
Original file line number Diff line number Diff line change @@ -31,6 +31,11 @@ int uname(struct utsname *name)
3131 name -> machine [1 ] = '3' ;
3232 }
3333 break ;
34+ #if defined(PROCESSOR_ARCHITECTURE_ARM )
35+ case PROCESSOR_ARCHITECTURE_ARM :
36+ strcpy (name -> machine , "armv7" );
37+ break ;
38+ #endif
3439#if defined(PROCESSOR_ARCHITECTURE_ARM64 )
3540 case PROCESSOR_ARCHITECTURE_ARM64 :
3641 strcpy (name -> machine , "aarch64" );
You can’t perform that action at this time.
0 commit comments