[PATCH 1/2] build: pass -no-undefined properly