]> git.sesse.net Git - vlc/commitdiff
vlc-config.in: Pass the default Werror flags as well.
authorPierre d'Herbemont <pdherbemont@free.fr>
Mon, 24 Aug 2009 15:18:23 +0000 (17:18 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Mon, 24 Aug 2009 15:36:00 +0000 (17:36 +0200)
vlc-config.in.in

index 88decc0f94909e466ec1b8fad56e9f0567b4f8d7..f288da6c04629a70c19c47dc6f4ce9b12182546b 100644 (file)
@@ -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"