Browse Source
Fix default OPT_CPU for macOS
remotes/origin_old/release/v2.9
Chayoung You
5 years ago
No known key found for this signature in database
GPG Key ID: 46D5FC2EE79FBC2D
1 changed files with
3 additions and
3 deletions
-
tools/gmake_scripts/os_osx.mk
|
|
@ -9,10 +9,10 @@ |
|
|
|
|
|
|
|
# Requirements:
|
|
|
|
#
|
|
|
|
# OSX_SDK The location of the SDK eg. OSX_SDK = /Developer/SDKs/MacOSX10.7.sdk
|
|
|
|
# OSX_ARCH The architecture flags eg. OSX_ARCH = -mmacosx-version-min=10.3
|
|
|
|
# OSX_SDK The location of the SDK eg. OSX_SDK = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
|
|
|
|
# OSX_ARCH The architecture flags eg. OSX_ARCH = -mmacosx-version-min=10.12
|
|
|
|
#
|
|
|
|
|
|
|
|
SRCFLAGS += -isysroot $(OSX_SDK) $(OSX_ARCH) |
|
|
|
LDFLAGS += -pthread -Wl,-syslibroot,$(OSX_SDK) $(OSX_ARCH) |
|
|
|
OPT_CPU = x86 |
|
|
|
OPT_CPU = x64 |
|
|
|