mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 628627 part 2 - Add messages inviting to file bugs and use --disable-elf-hack in case of elfhack failures. r=khuey,a=sdwilsh
This commit is contained in:
parent
4a0181e110
commit
a59a2243d8
@ -71,7 +71,12 @@ libs:: $(CSRCS:.c=.$(OBJ_SUFFIX))
|
||||
ifndef CROSS_COMPILE
|
||||
test$(DLL_SUFFIX): test.$(OBJ_SUFFIX) elfhack $(CSRCS:.c=.$(OBJ_SUFFIX))
|
||||
$(MKSHLIB) $<
|
||||
rm -f $@.bak
|
||||
@echo ===
|
||||
@echo === If you get failures below, please file a bug describing the error
|
||||
@echo === and your environment \(compiler and linker versions\), and use
|
||||
@echo === --disable-elf-hack until this is fixed.
|
||||
@echo ===
|
||||
@rm -f $@.bak
|
||||
$(CURDIR)/elfhack -b $@
|
||||
# Fail if the backup file doesn't exist
|
||||
[ -f "$@.bak" ]
|
||||
|
@ -543,6 +543,11 @@ endif # UNIVERSAL_BINARY
|
||||
$(OPTIMIZE_JARS_CMD) --optimize $(DIST)/jarlog/ $(DIST)/bin/chrome $(DIST)/$(STAGEPATH)$(MOZ_PKG_DIR)/chrome
|
||||
ifeq ($(USE_ELF_HACK)$(HOST_OS_ARCH)$(OS_ARCH)$(OS_TARGET),1LinuxLinuxLinux)
|
||||
ifneq (,$(filter %86 x86_64 arm,$(OS_TEST)))
|
||||
@echo ===
|
||||
@echo === If you get failures below, please file a bug describing the error
|
||||
@echo === and your environment \(compiler and linker versions\), and use
|
||||
@echo === --disable-elf-hack until this is fixed.
|
||||
@echo ===
|
||||
cd $(DIST)/$(STAGEPATH)$(MOZ_PKG_DIR); find . -name "*$(DLL_SUFFIX)" | xargs $(DEPTH)/build/unix/elfhack/elfhack
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user