mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 00:55:27 +00:00
macOS: change min supported OS from 10.6 to 10.7.
This commit is contained in:
parent
6422a5d259
commit
d35c737f1c
|
@ -9237,7 +9237,7 @@
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
"@loader_path/Frameworks",
|
"@loader_path/Frameworks",
|
||||||
);
|
);
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.6;
|
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.SDL2;
|
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.SDL2;
|
||||||
PRODUCT_NAME = SDL2;
|
PRODUCT_NAME = SDL2;
|
||||||
STRIP_STYLE = "non-global";
|
STRIP_STYLE = "non-global";
|
||||||
|
@ -9321,7 +9321,7 @@
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
"@loader_path/Frameworks",
|
"@loader_path/Frameworks",
|
||||||
);
|
);
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.6;
|
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.SDL2;
|
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.SDL2;
|
||||||
PRODUCT_NAME = SDL2;
|
PRODUCT_NAME = SDL2;
|
||||||
|
|
|
@ -4048,7 +4048,7 @@
|
||||||
);
|
);
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
GCC_OPTIMIZATION_LEVEL = 0;
|
||||||
HEADER_SEARCH_PATHS = ../../include;
|
HEADER_SEARCH_PATHS = ../../include;
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.6;
|
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
};
|
};
|
||||||
|
@ -4175,7 +4175,7 @@
|
||||||
);
|
);
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
HEADER_SEARCH_PATHS = ../../include;
|
HEADER_SEARCH_PATHS = ../../include;
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.6;
|
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
};
|
};
|
||||||
|
|
|
@ -30,6 +30,6 @@
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1.0</string>
|
<string>1.0</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>10.6</string>
|
<string>10.7</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
|
|
||||||
DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
|
DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
|
||||||
|
|
||||||
# Intel 64-bit compiler flags (10.6 runtime compatibility)
|
# Intel 64-bit compiler flags (10.7 runtime compatibility)
|
||||||
CLANG_COMPILE_X64="clang++ -arch x86_64 -mmacosx-version-min=10.6 \
|
CLANG_COMPILE_X64="clang++ -arch x86_64 -mmacosx-version-min=10.7 \
|
||||||
-I/usr/local/include"
|
-I/usr/local/include"
|
||||||
|
|
||||||
CLANG_LINK_X64="-mmacosx-version-min=10.6"
|
CLANG_LINK_X64="-mmacosx-version-min=10.7"
|
||||||
|
|
||||||
# ARM 64-bit compiler flags (11.0 runtime compatibility)
|
# ARM 64-bit compiler flags (11.0 runtime compatibility)
|
||||||
CLANG_COMPILE_ARM64="clang++ -arch arm64 -mmacosx-version-min=11.0 \
|
CLANG_COMPILE_ARM64="clang++ -arch arm64 -mmacosx-version-min=11.0 \
|
||||||
|
|
|
@ -6,12 +6,12 @@
|
||||||
|
|
||||||
DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
|
DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
|
||||||
|
|
||||||
# Intel 64-bit compiler flags (10.6 runtime compatibility)
|
# Intel 64-bit compiler flags (10.7 runtime compatibility)
|
||||||
CLANG_COMPILE_X64="clang -arch x86_64 -mmacosx-version-min=10.6 \
|
CLANG_COMPILE_X64="clang -arch x86_64 -mmacosx-version-min=10.7 \
|
||||||
-DMAC_OS_X_VERSION_MIN_REQUIRED=1060 \
|
-DMAC_OS_X_VERSION_MIN_REQUIRED=1070 \
|
||||||
-I/usr/local/include"
|
-I/usr/local/include"
|
||||||
|
|
||||||
CLANG_LINK_X64="-mmacosx-version-min=10.6"
|
CLANG_LINK_X64="-mmacosx-version-min=10.7"
|
||||||
|
|
||||||
# ARM 64-bit compiler flags (11.0 runtime compatibility)
|
# ARM 64-bit compiler flags (11.0 runtime compatibility)
|
||||||
CLANG_COMPILE_ARM64="clang -arch arm64 -mmacosx-version-min=11.0 \
|
CLANG_COMPILE_ARM64="clang -arch arm64 -mmacosx-version-min=11.0 \
|
||||||
|
|
|
@ -43,15 +43,14 @@ make
|
||||||
sudo make install
|
sudo make install
|
||||||
```
|
```
|
||||||
|
|
||||||
This script builds SDL with 10.6 ABI compatibility on 64-bit Intel and 11.0
|
This script builds SDL with 10.7 ABI compatibility on 64-bit Intel and 11.0
|
||||||
ABI compatibility on ARM64 architectures. For best compatibility you
|
ABI compatibility on ARM64 architectures. For best compatibility you
|
||||||
should compile your application the same way.
|
should compile your application the same way.
|
||||||
|
|
||||||
Please note that building SDL requires at least Xcode 4.6 and the 10.7 SDK
|
Please note that building SDL requires at least Xcode 4.6 and the 10.7 SDK.
|
||||||
(even if you target back to 10.6 systems). PowerPC support for Mac OS X has
|
PowerPC support for macOS has been officially dropped as of SDL 2.0.2.
|
||||||
been officially dropped as of SDL 2.0.2. 32-bit Intel, using an older Xcode
|
32-bit Intel and macOS 10.6 runtime support has been officially dropped as
|
||||||
release, is still supported at the time of this writing, but current Xcode
|
of SDL 2.24.0.
|
||||||
releases no longer support it, and eventually neither will SDL.
|
|
||||||
|
|
||||||
To use the library once it's built, you essential have two possibilities:
|
To use the library once it's built, you essential have two possibilities:
|
||||||
use the traditional autoconf/automake/make method, or use Xcode.
|
use the traditional autoconf/automake/make method, or use Xcode.
|
||||||
|
|
|
@ -108,9 +108,9 @@
|
||||||
/* if not compiling for iOS */
|
/* if not compiling for iOS */
|
||||||
#undef __MACOSX__
|
#undef __MACOSX__
|
||||||
#define __MACOSX__ 1
|
#define __MACOSX__ 1
|
||||||
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
|
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1070
|
||||||
# error SDL for Mac OS X only supports deploying on 10.6 and above.
|
# error SDL for Mac OS X only supports deploying on 10.7 and above.
|
||||||
#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1060 */
|
#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1070 */
|
||||||
#endif /* TARGET_OS_IPHONE */
|
#endif /* TARGET_OS_IPHONE */
|
||||||
#endif /* defined(__APPLE__) */
|
#endif /* defined(__APPLE__) */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue