зеркало из https://github.com/mozilla/pjs.git
Bug 675135 - should use -Fo instead of -o on MASM. r=ted
This commit is contained in:
Родитель
2ac505a176
Коммит
fd7175fa14
|
@ -681,6 +681,12 @@ else
|
||||||
OUTOPTION = -o # eol
|
OUTOPTION = -o # eol
|
||||||
endif # WINNT && !GNU_CC
|
endif # WINNT && !GNU_CC
|
||||||
|
|
||||||
|
ifneq (,$(filter ml%,$(AS)))
|
||||||
|
ASOUTOPTION = -Fo# eol
|
||||||
|
else
|
||||||
|
ASOUTOPTION = -o # eol
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq (,$(CROSS_COMPILE))
|
ifeq (,$(CROSS_COMPILE))
|
||||||
HOST_OUTOPTION = $(OUTOPTION)
|
HOST_OUTOPTION = $(OUTOPTION)
|
||||||
else
|
else
|
||||||
|
@ -1286,7 +1292,7 @@ ifdef ASFILES
|
||||||
# The AS_DASH_C_FLAG is needed cause not all assemblers (Solaris) accept
|
# The AS_DASH_C_FLAG is needed cause not all assemblers (Solaris) accept
|
||||||
# a '-c' flag.
|
# a '-c' flag.
|
||||||
%.$(OBJ_SUFFIX): %.$(ASM_SUFFIX) $(GLOBAL_DEPS)
|
%.$(OBJ_SUFFIX): %.$(ASM_SUFFIX) $(GLOBAL_DEPS)
|
||||||
$(AS) -o $@ $(ASFLAGS) $(AS_DASH_C_FLAG) $(_VPATH_SRCS)
|
$(AS) $(ASOUTOPTION)$@ $(ASFLAGS) $(AS_DASH_C_FLAG) $(_VPATH_SRCS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
%.$(OBJ_SUFFIX): %.S $(GLOBAL_DEPS)
|
%.$(OBJ_SUFFIX): %.S $(GLOBAL_DEPS)
|
||||||
|
|
|
@ -681,6 +681,12 @@ else
|
||||||
OUTOPTION = -o # eol
|
OUTOPTION = -o # eol
|
||||||
endif # WINNT && !GNU_CC
|
endif # WINNT && !GNU_CC
|
||||||
|
|
||||||
|
ifneq (,$(filter ml%,$(AS)))
|
||||||
|
ASOUTOPTION = -Fo# eol
|
||||||
|
else
|
||||||
|
ASOUTOPTION = -o # eol
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq (,$(CROSS_COMPILE))
|
ifeq (,$(CROSS_COMPILE))
|
||||||
HOST_OUTOPTION = $(OUTOPTION)
|
HOST_OUTOPTION = $(OUTOPTION)
|
||||||
else
|
else
|
||||||
|
@ -1286,7 +1292,7 @@ ifdef ASFILES
|
||||||
# The AS_DASH_C_FLAG is needed cause not all assemblers (Solaris) accept
|
# The AS_DASH_C_FLAG is needed cause not all assemblers (Solaris) accept
|
||||||
# a '-c' flag.
|
# a '-c' flag.
|
||||||
%.$(OBJ_SUFFIX): %.$(ASM_SUFFIX) $(GLOBAL_DEPS)
|
%.$(OBJ_SUFFIX): %.$(ASM_SUFFIX) $(GLOBAL_DEPS)
|
||||||
$(AS) -o $@ $(ASFLAGS) $(AS_DASH_C_FLAG) $(_VPATH_SRCS)
|
$(AS) $(ASOUTOPTION)$@ $(ASFLAGS) $(AS_DASH_C_FLAG) $(_VPATH_SRCS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
%.$(OBJ_SUFFIX): %.S $(GLOBAL_DEPS)
|
%.$(OBJ_SUFFIX): %.S $(GLOBAL_DEPS)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче