зеркало из https://github.com/mozilla/pjs.git
Linux/Alpha needs the -mieee compiler flag to turn on IEEE floating
point arithmetics.
This commit is contained in:
Родитель
0f7b0ea851
Коммит
cb11cc82d1
|
@ -69,7 +69,7 @@ I2_LOCALE = i2
|
|||
######################################################################
|
||||
|
||||
ifeq ($(CPU_ARCH),alpha)
|
||||
PLATFORM_FLAGS += -D__$(CPU_ARCH) -D_ALPHA_
|
||||
PLATFORM_FLAGS += -D__$(CPU_ARCH) -D_ALPHA_ -mieee
|
||||
PORT_FLAGS += -DNEED_TIME_R -DMITSHM -D_XOPEN_SOURCE
|
||||
endif
|
||||
ifeq ($(CPU_ARCH),m68k)
|
||||
|
|
|
@ -59,7 +59,7 @@ OS_CFLAGS = $(DSO_CFLAGS) $(PLATFORM_FLAGS) $(PORT_FLAGS)
|
|||
######################################################################
|
||||
|
||||
ifeq ($(CPU_ARCH),alpha)
|
||||
PLATFORM_FLAGS += -D_ALPHA_ -D__alpha
|
||||
PLATFORM_FLAGS += -D_ALPHA_ -D__alpha -mieee
|
||||
PORT_FLAGS += -D_XOPEN_SOURCE
|
||||
endif
|
||||
ifeq ($(CPU_ARCH),ppc)
|
||||
|
|
Загрузка…
Ссылка в новой задаче