]> git.sesse.net Git - x264/commitdiff
Only add strip option '-s' for linker flags
authorAnton Mitrofanov <BugMaster@narod.ru>
Mon, 21 Apr 2014 20:58:24 +0000 (00:58 +0400)
committerFiona Glaser <fiona@x264.com>
Tue, 22 Apr 2014 22:37:47 +0000 (15:37 -0700)
Fixes some build warnings with clang.

configure

index 628e5542c44e54c762f541e9dcd7f47feeb83b4d..1452c2dea72ce260b30361baa60e6f542d3131cf 100755 (executable)
--- 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