diff --git a/configure b/configure index b53b15c2c443b61a853b5dd4efebdcd29472fd5d..2c237210d68019fcabaea11e6c0aef6ffaa13ab8 100755 --- a/configure +++ b/configure @@ -1301,6 +1301,10 @@ fi echo "#define restrict $_restrict" >> $TMPH +if test "$optimize" = "small"; then + echo "#define always_inline" >> $TMPH +fi + # build tree in object directory if source path is different from current one if test "$source_path_used" = "yes" ; then DIRS="libavformat libavcodec libavcodec/alpha libavcodec/armv4l libavcodec/i386 \