diff --git a/configure b/configure index 3b132d07c9..17f72b735e 100755 --- a/configure +++ b/configure @@ -8524,8 +8524,10 @@ echo "#endif /* FFMPEG_CONFIG_H */" >> $TMPH cp_if_changed $TMPH config.h touch ffbuild/.config -# Copy config.asm before printing ALL_COMPONENTS; that's not needed in assembly. -enabled x86asm && cp_if_changed $TMPASM config.asm +# Copy config.asm and reopen a new TMPASM for config_components.asm +enabled x86asm && cp_if_changed $TMPASM config.asm && cat > $TMPASM < $TMPH <> $TMPH echo "endif # FFMPEG_CONFIG_MAK" >> ffbuild/config.mak cp_if_changed $TMPH config_components.h +enabled x86asm && cp_if_changed $TMPASM config_components.asm cat > $TMPH <