mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
If ARCH is x86_64, pass -m64 to the host compiler. -m32 for i386. This makes sure the JIT work correctly.
llvm-svn: 66315
This commit is contained in:
parent
4050346c70
commit
5582d4bb05
@ -516,6 +516,14 @@ ifdef UNIVERSAL
|
||||
|
||||
# Building universal cannot compute dependencies automatically.
|
||||
DISABLE_AUTO_DEPENDENCIES=1
|
||||
else
|
||||
ifeq ($(ARCH),x86_64)
|
||||
CompileCommonOpts += -m64
|
||||
else
|
||||
ifeq ($(ARCH),i386)
|
||||
CompileCommonOpts += -m32
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS),SunOS)
|
||||
|
Loading…
Reference in New Issue
Block a user