[packages/mysql/MYSQL_5_0] compile flags modify to build with gcc 7.2

glen glen at pld-linux.org
Thu Sep 14 16:05:10 CEST 2017


commit 92b8e265c088613a65a8ab0566d7f85f336ad477
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Sep 14 17:04:06 2017 +0300

    compile flags modify to build with gcc 7.2

 mysql.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mysql.spec b/mysql.spec
index cf4d94c..e8099e5 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -592,9 +592,9 @@ mv sphinx-*/mysqlse sql/sphinx
 %{__autoconf}
 
 # The compiler flags are as per their "official" spec ;)
-CXXFLAGS="%{rpmcflags} -fno-implicit-templates -fno-exceptions -fno-rtti"
+CXXFLAGS="%{rpmcflags} -fno-implicit-templates -fno-exceptions -fno-rtti -fpermissive"
 CFLAGS="%{rpmcflags}"
-CPPFLAGS="%{rpmcppflags}"
+CPPFLAGS="%{rpmcppflags} -Wno-narrowing"
 
 # NOTE: the PS, FIND_PROC, KILL, CHECK_PID are not used by PLD Linux
 # and therefore do not add BR on these. These are here just to satisfy
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mysql.git/commitdiff/b029ef0304c33b7916437be614d18e3849e5f377



More information about the pld-cvs-commit mailing list