File otp_src_18.3.4.4-lib-hipe-Makefile.patch of Package erlang
diff -Ndurp otp_src_18.3.4.4/lib/hipe/Makefile otp_src_18.3.4.4-lib-hipe-Makefile/lib/hipe/Makefile
--- otp_src_18.3.4.4/lib/hipe/Makefile 2016-08-11 17:24:09.000000000 +0300
+++ otp_src_18.3.4.4-lib-hipe-Makefile/lib/hipe/Makefile 2016-08-15 21:35:37.995493341 +0300
@@ -34,6 +34,8 @@ ifdef HIPE_ENABLED
# "rtl" below must be the first directory so that file rtl/hipe_literals.hrl
# which is needed by many other HiPE files is built first
SUB_DIRECTORIES = rtl $(ALWAYS_SUBDIRS) $(HIPE_SUBDIRS)
+main icode: rtl
+sparc ppc x86 amd64 arm llvm: rtl
else
SUB_DIRECTORIES = $(ALWAYS_SUBDIRS)
endif