Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e052da08 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Don't try to load libSegFault.so if it doesn't exist"

parents 8e07a47e 03560079
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -48,8 +48,10 @@ source "${TOP}/build/soong/scripts/microfactory.bash"

case $(uname) in
  Linux)
    if [[ -f /lib/x86_64-linux-gnu/libSegFault.so ]]; then
      export LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
      export SEGFAULT_USE_ALTSTACK=1
    fi
    ulimit -a
    ;;
esac