Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,11 @@ ifeq ($(ISX86),1)
SHIPFLAGS_GCC += -momit-leaf-frame-pointer
endif

# On 32-bit x86, make sure not to use 80-bit x87 math when we want 64-bit math.
ifeq ($(ISX86)$(BINARY),132)
JCFLAGS += -mfpmath=sse
endif

# File name of make binary-dist result
ifeq ($(JULIA_BINARYDIST_FILENAME),)
DIST_OS:=$(shell echo $(OS) | tr '[:upper:]' '[:lower:]')
Expand All @@ -1203,10 +1208,6 @@ ifneq (,$(filter $(ARCH), powerpc64le ppc64le))
DIST_ARCH:=ppc64le
endif
ifeq (1,$(ISX86))
# on x86 make sure not to use 80 bit math when we want 64 bit math.
ifeq (32,$(BINARY))
JCFLAGS += -mfpmath=sse
endif
DIST_ARCH:=$(BINARY)
endif
ifneq (,$(findstring arm,$(ARCH)))
Expand Down
Loading