Browse Source

Fix default OPT_CPU for macOS

Chayoung You 2 years ago
parent
commit
4f07f53f98
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tools/gmake_scripts/os_osx.mk

+ 3 - 3
tools/gmake_scripts/os_osx.mk

@@ -9,10 +9,10 @@
9 9
 
10 10
 # Requirements:
11 11
 #
12
-# OSX_SDK	The location of the SDK eg. OSX_SDK  = /Developer/SDKs/MacOSX10.7.sdk
13
-# OSX_ARCH	The architecture flags eg.  OSX_ARCH = -mmacosx-version-min=10.3
12
+# OSX_SDK	The location of the SDK eg. OSX_SDK  = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
13
+# OSX_ARCH	The architecture flags eg.  OSX_ARCH = -mmacosx-version-min=10.12
14 14
 #
15 15
 
16 16
 SRCFLAGS	+= -isysroot $(OSX_SDK) $(OSX_ARCH)
17 17
 LDFLAGS		+= -pthread -Wl,-syslibroot,$(OSX_SDK) $(OSX_ARCH)
18
-OPT_CPU = x86
18
+OPT_CPU = x64