From 5bc1701a5a784bca80b8872427850a787394109c Mon Sep 17 00:00:00 2001 From: James Lee Date: Fri, 27 Jan 2012 16:37:48 -0700 Subject: [PATCH] Ensure make.sh returns success --- external/source/meterpreter/source/bionic/libc/Android.mk | 6 +++++- .../source/meterpreter/source/bionic/libc/out/x86/make.sh | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) mode change 100644 => 100755 external/source/meterpreter/source/bionic/libc/out/x86/make.sh 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