Changeset 576 for CMT/HEAD/mgr/Unix.make
- Timestamp:
- May 10, 2011, 2:39:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/mgr/Unix.make
r560 r576 51 51 endif 52 52 53 if eq ($(CMTBIN),Darwin)53 ifneq (,$(findstring Darwin,$(CMTBIN))) 54 54 cpp = c++ -O2 55 55 endif … … 79 79 ifneq (,$(findstring i386,$(CMTBIN))) 80 80 _mode = 32 81 else ifneq (,$(findstring i486,$(CMTBIN))) 81 endif 82 ifneq (,$(findstring i486,$(CMTBIN))) 82 83 _mode = 32 83 else ifneq (,$(findstring i586,$(CMTBIN))) 84 endif 85 ifneq (,$(findstring i586,$(CMTBIN))) 84 86 _mode = 32 85 else ifneq (,$(findstring i686,$(CMTBIN))) 87 endif 88 ifneq (,$(findstring i686,$(CMTBIN))) 86 89 _mode = 32 87 else ifneq (,$(findstring x86_64,$(CMTBIN))) 90 endif 91 ifneq (,$(findstring x86_64,$(CMTBIN))) 88 92 _mode = 64 89 93 endif … … 107 111 ifeq ($(_mode),32) 108 112 TARGET_ARCH = -m32 109 else ifeq ($(_mode),64) 113 endif 114 ifeq ($(_mode),64) 110 115 TARGET_ARCH = -m64 116 endif 117 endif 118 119 # 120 # Specify mode explicitly for Darwin 121 # (on Mac OS X 10.6, uname -m may show i386 122 # while c++ builds for x86_64 by default) 123 # 124 ifneq (,$(findstring Darwin,$(CMTBIN))) 125 ifeq ($(_mode),32) 126 TARGET_ARCH = -arch i386 127 endif 128 ifeq ($(_mode),64) 129 TARGET_ARCH = -arch x86_64 111 130 endif 112 131 endif … … 139 158 format_dependencies = $(CMTROOT)/mgr/cmt_format_deps.sh 140 159 build_dependencies = : 141 else ifneq (,$(findstring Darwin,$(CMTBIN))) 160 endif 161 ifneq (,$(findstring Darwin,$(CMTBIN))) 142 162 cppdepflags = -MM 143 163 format_dependencies = $(CMTROOT)/mgr/cmt_format_deps.sh
Note: See TracChangeset
for help on using the changeset viewer.