File otp_src_20.3.8.2-lib-hipe-Makefile.patch of Package erlang

diff -Ndurp otp_src_20.3.8.2/lib/hipe/Makefile otp_src_20.3.8.2-lib-hipe-Makefile/lib/hipe/Makefile
--- otp_src_20.3.8.2/lib/hipe/Makefile	2018-06-28 18:09:25.000000000 +0300
+++ otp_src_20.3.8.2-lib-hipe-Makefile/lib/hipe/Makefile	2018-06-30 23:37:57.757454163 +0300
@@ -28,12 +28,14 @@ else
 HIPE_SUBDIRS =
 endif
 
-ALWAYS_SUBDIRS = misc main cerl icode flow util doc/src
+ALWAYS_SUBDIRS = main misc cerl icode flow util doc/src
 
 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
openSUSE Build Service is sponsored by