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

configure: simplify STRIP setting in config.mak

Originally committed as revision 20423 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a48289c7
......@@ -2648,6 +2648,8 @@ echo "License: $license"
echo "Creating config.mak and config.h..."
enabled stripping || strip="echo skipping strip"
echo "# Automatically generated by configure - do not modify!" > config.mak
echo "ifndef FFMPEG_CONFIG_MAK" >> config.mak
echo "FFMPEG_CONFIG_MAK=1" >> config.mak
......@@ -2671,10 +2673,7 @@ echo "YASM=$yasmexe" >> config.mak
echo "AR=$ar" >> config.mak
echo "RANLIB=$ranlib" >> config.mak
echo "LN_S=$ln_s" >> config.mak
enabled stripping &&
echo "STRIP=$strip" >> config.mak ||
echo "STRIP=echo ignoring strip" >> config.mak
echo "STRIP=$strip" >> config.mak
echo "CPPFLAGS=$CPPFLAGS" >> config.mak
echo "CFLAGS=$CFLAGS" >> config.mak
echo "ASFLAGS=$ASFLAGS" >> config.mak
......
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