Commit f5d28d10 authored by Måns Rullgård's avatar Måns Rullgård

do nothing in restore_flags() if flags are not saved

Originally committed as revision 7918 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 703afd07
...@@ -291,6 +291,7 @@ save_flags(){ ...@@ -291,6 +291,7 @@ save_flags(){
} }
restore_flags(){ restore_flags(){
flags_saved || return
CFLAGS="$SAVE_CFLAGS" CFLAGS="$SAVE_CFLAGS"
LDFLAGS="$SAVE_LDFLAGS" LDFLAGS="$SAVE_LDFLAGS"
extralibs="$SAVE_extralibs" extralibs="$SAVE_extralibs"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment