From abbe30ad892d00deea4080d29aa02804e4223eab Mon Sep 17 00:00:00 2001
From: Jeff Downs <heydowns@borg.com>
Date: Thu, 30 Jul 2009 22:41:05 +0000
Subject: [PATCH] Make av_always_inline a no-op when --disable-optimizations is
 supplied to configure

Originally committed as revision 19555 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index c9c48165b68..6174f107d1d 100755
--- a/configure
+++ b/configure
@@ -2654,7 +2654,7 @@ print_config CONFIG_ $TMPH config.mak $CONFIG_LIST       \
 
 echo "#define restrict $_restrict" >> $TMPH
 
-if enabled small; then
+if enabled small || disabled optimizations; then
     echo "#define av_always_inline"  >> $TMPH
 fi
 
-- 
GitLab