After inserting LIBRESSL_CONF += -DENABLE_ASM=Off into daemon/contrib/src/libressl/rules.mak, jamid was built, but I found vaapi was linked… So I should pass --disable-accel to daemon/configure and rebuild?
Edited:
I see, I forgot to disable vaapi when building ffmpeg.