forked from OSchip/llvm-project
Re-apply 66315, but restrict it to Darwin only.
llvm-svn: 66427
This commit is contained in:
parent
c08580af44
commit
3807bb77fa
|
@ -519,6 +519,16 @@ ifdef UNIVERSAL
|
|||
|
||||
# Building universal cannot compute dependencies automatically.
|
||||
DISABLE_AUTO_DEPENDENCIES=1
|
||||
else
|
||||
ifeq ($(OS),Darwin)
|
||||
ifeq ($(ARCH),x86_64)
|
||||
CompileCommonOpts += -m64
|
||||
else
|
||||
ifeq ($(ARCH),x86)
|
||||
CompileCommonOpts += -m32
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS),SunOS)
|
||||
|
|
Loading…
Reference in New Issue