diff --git a/external/source/meterpreter/source/bionic/libc/Android.mk b/external/source/meterpreter/source/bionic/libc/Android.mk index b052161d73..2b6d5df0fd 100644 --- a/external/source/meterpreter/source/bionic/libc/Android.mk +++ b/external/source/meterpreter/source/bionic/libc/Android.mk @@ -443,7 +443,11 @@ else # !arm # Enable recent IA friendly memory routines (such as for Atom) # These will not work on the earlier x86 machines - libc_common_cflags += -mtune=i686 -DUSE_SSSE3 -DUSE_SSE2 + #libc_common_cflags += -mtune=i686 -DUSE_SSSE3 -DUSE_SSE2 + + # egypt: compile for 386 so meterpreter will have a chance of working on + # older processors + libc_common_cflags += -march=i386 endif # x86 endif # !arm diff --git a/external/source/meterpreter/source/bionic/libc/out/x86/make.sh b/external/source/meterpreter/source/bionic/libc/out/x86/make.sh old mode 100644 new mode 100755 index e3f93513e1..074876075f --- a/external/source/meterpreter/source/bionic/libc/out/x86/make.sh +++ b/external/source/meterpreter/source/bionic/libc/out/x86/make.sh @@ -17,4 +17,4 @@ gcc -Wl,--hash-style=sysv -nostdinc -nostdlib -shared -o libbionic.so flood/*.o rm -rf flood >/dev/null - +exit 0