aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorcomex2015-07-12 16:42:48 -0400
committercomex2015-07-12 16:44:58 -0400
commit41aefc7572abb3c689774354231217aaafe0b01a (patch)
tree610f0f38f5880d4577ca19e9ddb1084dfb7177ec /configure
parenthow did that style violation get in there? must have been tired (diff)
downloadsubstitute-41aefc7572abb3c689774354231217aaafe0b01a.tar.gz
redo crash reporting - untested (but it compiles)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 7d12f35..5026f50 100755
--- a/configure
+++ b/configure
@@ -57,7 +57,7 @@ if settings.enable_werror:
settings[mach.name].cflags = ['-Werror'] + settings[mach.name].cflags
for i in ('cflags', 'ldflags'):
- settings.host[i] = ['-miphoneos-version-min=8.0'] + settings.host[i]
+ settings.host[i] = ['-miphoneos-version-min=8.0', '-O3'] + settings.host[i]
# todo make overridable?
cc_argv = c.cc.argv()
@@ -212,7 +212,7 @@ if settings.enable_ios_bootstrap:
ls = ['(out)/libsubstitute.dylib']
for ty, out, ins, objs, ldf, cf in [
- ('dylib', '(out)/posixspawn-hook.dylib', ['(src)/darwin-bootstrap/posixspawn-hook.c'], ls, [], []),
+ ('dylib', '(out)/posixspawn-hook.dylib', ['(src)/darwin-bootstrap/posixspawn-hook.c'], ls, ['-lbsm'], []),
('dylib', '(out)/bundle-loader.dylib', ['(src)/darwin-bootstrap/bundle-loader.c'], [], [], []),
('exec', '(out)/unrestrict', ['(src)/darwin-bootstrap/unrestrict.c'], ls, [], []),
('exec', '(out)/inject-into-launchd', ['(src)/darwin-bootstrap/inject-into-launchd.c'], ls, ['-framework', 'IOKit', '-framework', 'CoreFoundation'], []),