1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- my %targets = (
- "ios-common" => {
- template => 1,
- inherit_from => [ "darwin-common" ],
- sys_id => "iOS",
- disable => [ "engine", "async" ],
- },
- "ios-xcrun" => {
- inherit_from => [ "ios-common", asm("armv4_asm") ],
-
-
-
- CC => "xcrun -sdk iphoneos cc",
- cflags => add("-arch armv7 -mios-version-min=6.0.0 -fno-common"),
- perlasm_scheme => "ios32",
- },
- "ios64-xcrun" => {
- inherit_from => [ "ios-common", asm("aarch64_asm") ],
- CC => "xcrun -sdk iphoneos cc",
- cflags => add("-arch arm64 -mios-version-min=7.0.0 -fno-common"),
- bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
- perlasm_scheme => "ios64",
- },
- "iossimulator-xcrun" => {
- inherit_from => [ "ios-common" ],
- CC => "xcrun -sdk iphonesimulator cc",
- },
- "iphoneos-cross" => {
- inherit_from => [ "ios-common" ],
- cflags => add("-isysroot \$(CROSS_TOP)/SDKs/\$(CROSS_SDK) -fno-common"),
- },
- "ios-cross" => {
- inherit_from => [ "ios-xcrun" ],
- CC => "cc",
- cflags => add("-isysroot \$(CROSS_TOP)/SDKs/\$(CROSS_SDK)"),
- },
- "ios64-cross" => {
- inherit_from => [ "ios64-xcrun" ],
- CC => "cc",
- cflags => add("-isysroot \$(CROSS_TOP)/SDKs/\$(CROSS_SDK)"),
- },
- );
|