In the file endf.f90 the following lines appear (around line 29):
character(4)::hol(17)
real(kr)::rhol(17)
equivalence(hol(1),rhol(1))
This produces an error when compiling
F90-S-0310-Cannot EQUIVALENCE non-character and character in the specification part of a MODULE (/app/NJOY2016/src/endf.f90)
This issue seems to only affect the flang compiler.