]> git.saurik.com Git - safemode-ios.git/blob - make.sh
Modernized MobileSafety.
[safemode-ios.git] / make.sh
1 #!/bin/bash
2 flags=(-O2 -g0 -fno-exceptions -fvisibility=hidden)
3 cycc -i2.0 -oMobileSafety.dylib -- "${flags[@]}" -dynamiclib MobileSafety.mm \
4 -framework CoreFoundation -framework Foundation -framework UIKit \
5 -L. -lsubstrate -lobjc