wasm target doesn't compile with -maes flag set. I use this flag on PC to build bin packages for low-end laptop. Maybe more flags should be filtered. 508c508 < export CFLAGS_${wasm_target//-/_}="$(filter-flags '-mcpu*' '-march*' '-mtune*'; echo "$CFLAGS")" --- > export CFLAGS_${wasm_target//-/_}="$(filter-flags '-mcpu*' '-march*' '-mtune*' '-maes*'; echo "$CFLAGS")" Reproducible: Always