6588a7
diff -up firefox-68.0/config/rules.mk.old firefox-68.0/config/rules.mk
6588a7
--- firefox-68.0/config/rules.mk.old	2019-06-26 09:36:58.537034443 +0200
6588a7
+++ firefox-68.0/config/rules.mk	2019-06-26 09:37:38.004970573 +0200
6588a7
@@ -569,7 +569,6 @@ ifdef MOZ_PROFILE_GENERATE
6588a7
 endif
6588a7
 else # !WINNT || GNU_CC
6588a7
 	$(call EXPAND_CC_OR_CXX,$@) -o $@ $(COMPUTED_CXX_LDFLAGS) $(PGO_CFLAGS) $($(notdir $@)_$(OBJS_VAR_SUFFIX)) $(RESFILE) $(WIN32_EXE_LDFLAGS) $(LDFLAGS) $(STATIC_LIBS) $(RUST_STATIC_LIB) $(MOZ_PROGRAM_LDFLAGS) $(SHARED_LIBS) $(OS_LIBS)
6588a7
-	$(call py_action,check_binary,--target $@)
6588a7
 endif # WINNT && !GNU_CC
6588a7
 
6588a7
 ifdef ENABLE_STRIP
6588a7
@@ -604,9 +603,6 @@ else
6588a7
 	$(HOST_CC) -o $@ $(HOST_C_LDFLAGS) $(HOST_LDFLAGS) $($(notdir $@)_OBJS) $(HOST_LIBS) $(HOST_EXTRA_LIBS)
6588a7
 endif # HOST_CPP_PROG_LINK
6588a7
 endif
6588a7
-ifndef CROSS_COMPILE
6588a7
-	$(call py_action,check_binary,--host $@)
6588a7
-endif
6588a7
 
6588a7
 #
6588a7
 # This is an attempt to support generation of multiple binaries
6588a7
@@ -630,7 +626,6 @@ ifdef MSMANIFEST_TOOL
6588a7
 endif	# MSVC with manifest tool
6588a7
 else
6588a7
 	$(call EXPAND_CC_OR_CXX,$@) $(COMPUTED_CXX_LDFLAGS) $(PGO_CFLAGS) -o $@ $($@_$(OBJS_VAR_SUFFIX)) $(WIN32_EXE_LDFLAGS) $(LDFLAGS) $(STATIC_LIBS) $(MOZ_PROGRAM_LDFLAGS) $(SHARED_LIBS) $(OS_LIBS)
6588a7
-	$(call py_action,check_binary,--target $@)
6588a7
 endif # WINNT && !GNU_CC
6588a7
 
6588a7
 ifdef ENABLE_STRIP
6588a7
@@ -651,9 +646,6 @@ else
6588a7
 	$(HOST_CC) $(HOST_OUTOPTION)$@ $(HOST_C_LDFLAGS) $($(notdir $@)_OBJS) $(HOST_LIBS) $(HOST_EXTRA_LIBS)
6588a7
 endif
6588a7
 endif
6588a7
-ifndef CROSS_COMPILE
6588a7
-	$(call py_action,check_binary,--host $@)
6588a7
-endif
6588a7
 
6588a7
 $(LIBRARY): $(OBJS) $(STATIC_LIBS) $(EXTRA_DEPS) $(GLOBAL_DEPS)
6588a7
 	$(REPORT_BUILD)
6588a7
@@ -691,7 +683,6 @@ ifndef INCREMENTAL_LINKER
6588a7
 	$(RM) $@
6588a7
 endif
6588a7
 	$(MKSHLIB) $($@_$(OBJS_VAR_SUFFIX)) $(RESFILE) $(LDFLAGS) $(STATIC_LIBS) $(RUST_STATIC_LIB) $(SHARED_LIBS) $(EXTRA_DSO_LDOPTS) $(MOZ_GLUE_LDFLAGS) $(OS_LIBS)
6588a7
-	$(call py_action,check_binary,--target $@)
6588a7
 
6588a7
 ifeq (_WINNT,$(GNU_CC)_$(OS_ARCH))
6588a7
 ifdef MSMANIFEST_TOOL