summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-04-18 07:58:32 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-04-18 08:53:53 +0200
commit004badb702994ade724c481e5ad906ded77b77ef (patch)
tree33435afe48bf5e64946bd30f675b6f1ba54306e2
parent62a77cad89a80ddbbdf687c4345082b9e4724d6c (diff)
downloadptxdist-004badb702994ade724c481e5ad906ded77b77ef.tar.gz
ptxdist-004badb702994ade724c481e5ad906ded77b77ef.tar.xz
mysql: fix building with gcc 7.x
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/mysql.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/mysql.make b/rules/mysql.make
index 5912a1520..75cd444e9 100644
--- a/rules/mysql.make
+++ b/rules/mysql.make
@@ -86,6 +86,8 @@ MYSQL_CONF_OPT := \
-DDEFAULT_CHARSET=latin1 \
-DENABLE_DTRACE=OFF
+MYSQL_CXXFLAGS := -std=c++98
+
# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------