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