[iOS] Fix build on Xcode 14 and older.
(cherry picked from commit 09d5120865
)
This commit is contained in:
parent
e65f98576b
commit
d7fc0805c8
|
@ -255,7 +255,13 @@
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
||||||
OTHER_LDFLAGS = "-ld_classic $linker_flags";
|
"LD_CLASSIC_1000" = "";
|
||||||
|
"LD_CLASSIC_1100" = "";
|
||||||
|
"LD_CLASSIC_1200" = "";
|
||||||
|
"LD_CLASSIC_1300" = "";
|
||||||
|
"LD_CLASSIC_1400" = "";
|
||||||
|
"LD_CLASSIC_1500" = "-ld_classic";
|
||||||
|
OTHER_LDFLAGS = "$(LD_CLASSIC_$(XCODE_VERSION_MAJOR)) $linker_flags";
|
||||||
SDKROOT = iphoneos;
|
SDKROOT = iphoneos;
|
||||||
TARGETED_DEVICE_FAMILY = "$targeted_device_family";
|
TARGETED_DEVICE_FAMILY = "$targeted_device_family";
|
||||||
};
|
};
|
||||||
|
@ -294,7 +300,13 @@
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
||||||
OTHER_LDFLAGS = "-ld_classic $linker_flags";
|
"LD_CLASSIC_1000" = "";
|
||||||
|
"LD_CLASSIC_1100" = "";
|
||||||
|
"LD_CLASSIC_1200" = "";
|
||||||
|
"LD_CLASSIC_1300" = "";
|
||||||
|
"LD_CLASSIC_1400" = "";
|
||||||
|
"LD_CLASSIC_1500" = "-ld_classic";
|
||||||
|
OTHER_LDFLAGS = "$(LD_CLASSIC_$(XCODE_VERSION_MAJOR)) $linker_flags";
|
||||||
SDKROOT = iphoneos;
|
SDKROOT = iphoneos;
|
||||||
TARGETED_DEVICE_FAMILY = "$targeted_device_family";
|
TARGETED_DEVICE_FAMILY = "$targeted_device_family";
|
||||||
VALIDATE_PRODUCT = YES;
|
VALIDATE_PRODUCT = YES;
|
||||||
|
|
Loading…
Reference in New Issue