avoid-libxul-OOM-python-check.patch 1.6 KB

12345678910111213141516171819202122232425262728293031
  1. diff -rauN a/config/rules.mk b/config/rules.mk
  2. --- a/config/rules.mk 2020-10-13 20:28:50.994026769 +0200
  3. +++ b/config/rules.mk 2020-10-13 20:29:06.594023940 +0200
  4. @@ -470,7 +470,7 @@
  5. $(LINKER) -OUT:$@ -PDB:$(LINK_PDBFILE) -IMPLIB:$(basename $(@F)).lib $(WIN32_EXE_LDFLAGS) $(LDFLAGS) $(MOZ_PROGRAM_LDFLAGS) $($(notdir $@)_OBJS) $(filter %.res,$^) $(STATIC_LIBS) $(SHARED_LIBS) $(OS_LIBS)
  6. else # !WINNT || GNU_CC
  7. $(call EXPAND_CC_OR_CXX,$@) -o $@ $(COMPUTED_CXX_LDFLAGS) $(PGO_CFLAGS) $($(notdir $@)_OBJS) $(filter %.res,$^) $(WIN32_EXE_LDFLAGS) $(LDFLAGS) $(STATIC_LIBS) $(MOZ_PROGRAM_LDFLAGS) $(SHARED_LIBS) $(OS_LIBS)
  8. - $(call py_action,check_binary,--target $@)
  9. +# $(call py_action,check_binary,--target $@)
  10. endif # WINNT && !GNU_CC
  11. ifdef ENABLE_STRIP
  12. @@ -514,7 +514,7 @@
  13. $(LINKER) -out:$@ -pdb:$(LINK_PDBFILE) $($@_OBJS) $(filter %.res,$^) $(WIN32_EXE_LDFLAGS) $(LDFLAGS) $(MOZ_PROGRAM_LDFLAGS) $(STATIC_LIBS) $(SHARED_LIBS) $(OS_LIBS)
  14. else
  15. $(call EXPAND_CC_OR_CXX,$@) $(COMPUTED_CXX_LDFLAGS) $(PGO_CFLAGS) -o $@ $($@_OBJS) $(filter %.res,$^) $(WIN32_EXE_LDFLAGS) $(LDFLAGS) $(STATIC_LIBS) $(MOZ_PROGRAM_LDFLAGS) $(SHARED_LIBS) $(OS_LIBS)
  16. - $(call py_action,check_binary,--target $@)
  17. +# $(call py_action,check_binary,--target $@)
  18. endif # WINNT && !GNU_CC
  19. ifdef ENABLE_STRIP
  20. @@ -594,7 +594,7 @@
  21. $(RM) $@
  22. endif
  23. $(MKSHLIB) $($@_OBJS) $(filter %.res,$^) $(LDFLAGS) $(STATIC_LIBS) $(SHARED_LIBS) $(EXTRA_DSO_LDOPTS) $(MOZ_GLUE_LDFLAGS) $(OS_LIBS)
  24. - $(call py_action,check_binary,--target $@)
  25. +# $(call py_action,check_binary,--target $@)
  26. ifeq (_WINNT,$(GNU_CC)_$(OS_ARCH))
  27. endif # WINNT && !GCC