From bb801c97ea6c020284a8b2bc4083055d2c59aa86 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Fri, 30 Apr 2004 20:50:01 +0000
Subject: [PATCH] dont use always_inine with -Os

Originally committed as revision 3101 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index b53b15c2c44..2c237210d68 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 \
-- 
GitLab