[vlc-devel] commit: vlc-config.in: Pass the default Werror flags as well. (Pierre d' Herbemont )

git version control git at videolan.org
Mon Aug 24 17:36:51 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Mon Aug 24 17:18:23 2009 +0200| [fb1e74610655adfdb36cbdd3c68f486bddbd565e] | committer: Pierre d'Herbemont 

vlc-config.in: Pass the default Werror flags as well.

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

 vlc-config.in.in |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/vlc-config.in.in b/vlc-config.in.in
index 88decc0..f288da6 100644
--- a/vlc-config.in.in
+++ b/vlc-config.in.in
@@ -27,6 +27,8 @@ cflags_optim_speed="@CFLAGS_OPTIM_SPEED@"
 cflags_optim_nodebug="@CFLAGS_OPTIM_NODEBUG@"
 cflags_nooptim="@CFLAGS_NOOPTIM@"
 
+cflags_werror="@CFLAGS_WERROR@"
+
 #
 #  Do not touch below this place unless you really know what you are doing
 #
@@ -94,7 +96,7 @@ cppflags="${cppflags} -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURC
 #
 if [ "${debug}" = yes ]; then
   cppflags="${cppflags} -DDEBUG"
-  cflags="${cflags} -g"
+  cflags="${cflags} -g ${cflags_werror}"
   cxxflags="${cxxflags} -g"
   objcflags="${objcflags} -g"
   ldflags="${ldflags} -g"




More information about the vlc-devel mailing list