ERROR: Unable to load dependent library ... libopenlibm.so

Calling make twice might be the most reliable among quick solutions. I can only think of

echo "
install-openlibm: $(build_prefix)/manifest/openlibm
    patchelf --clear-execstack /home/tamas/src/julia-git/usr/bin/../lib/libopenlibm.so
" >> deps/openlibm.mk

but that’s pretty ugly.