[ldc] enable -Werror gcc flag

MERCIER Jonathan bioinfornatics at fedoraproject.org
Sat Mar 8 17:31:16 UTC 2014


commit 6c323937bdb1f439627a5b53cee606041f2f2c99
Author: Jonathan MERCIER <bioifornatics at fedoraproject.org>
Date:   Sat Mar 8 18:31:03 2014 +0100

    enable -Werror gcc flag

 ldc.spec |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/ldc.spec b/ldc.spec
index c6cd01a..6dde879 100644
--- a/ldc.spec
+++ b/ldc.spec
@@ -162,6 +162,7 @@ Active l'autocompletion pour pour la bibliothèque phobos dans geany (IDE)
 %setup -q -T -D -a 1 -n %{name}-%{alphatag}
 %setup -q -T -D -a 2 -n %{name}-%{alphatag}
 find . -type f -exec sed -i 's/\r//g' {} \;
+ sed -i 's/string(REPLACE "-Werror" "" LLVM_CXXFLAGS ${LLVM_CXXFLAGS})/#&/' CMakeLists.txt
 # temp geany config directory for allow geany to generate tags
 mkdir geany_config
 


More information about the scm-commits mailing list