mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
If ARCH is x86_64, pass -m64 to the host compiler. -m32 for i386. This makes sure the JIT work correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66315 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1779f2213f
commit
4b5051b0f9
@ -516,6 +516,14 @@ ifdef UNIVERSAL
|
|||||||
|
|
||||||
# Building universal cannot compute dependencies automatically.
|
# Building universal cannot compute dependencies automatically.
|
||||||
DISABLE_AUTO_DEPENDENCIES=1
|
DISABLE_AUTO_DEPENDENCIES=1
|
||||||
|
else
|
||||||
|
ifeq ($(ARCH),x86_64)
|
||||||
|
CompileCommonOpts += -m64
|
||||||
|
else
|
||||||
|
ifeq ($(ARCH),i386)
|
||||||
|
CompileCommonOpts += -m32
|
||||||
|
endif
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(OS),SunOS)
|
ifeq ($(OS),SunOS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user