[x264-devel] Only add strip option '-s' for linker flags

Anton Mitrofanov git at videolan.org
Wed Apr 23 00:40:56 CEST 2014


x264 | branch: master | Anton Mitrofanov <BugMaster at narod.ru> | Tue Apr 22 00:58:24 2014 +0400| [d362de65eb3cb37b541d507dd841f83316938950] | committer: Jason Garrett-Glaser

Only add strip option '-s' for linker flags

Fixes some build warnings with clang.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=d362de65eb3cb37b541d507dd841f83316938950
---

 configure |    1 -
 1 file changed, 1 deletion(-)

diff --git a/configure b/configure
index 628e554..1452c2d 100755
--- a/configure
+++ b/configure
@@ -1004,7 +1004,6 @@ if [ "$debug" != "yes" -a "$gprof" != "yes" ]; then
 fi
 
 if [ "$strip" = "yes" ]; then
-    CFLAGS="$CFLAGS -s"
     LDFLAGS="$LDFLAGS -s"
 fi
 



More information about the x264-devel mailing list