summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-04-17 09:44:35 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-04-17 09:44:35 +0200
commit6aaa7e26c473e7cfefc90895ed31abbc3199edee (patch)
tree5370b88a3fe6be9e64d12f4d16d21a0d36928d9a
parentdb26944f0218418ae6a21e3d82932d05d0b1c92d (diff)
downloadptxdist-6aaa7e26c473e7cfefc90895ed31abbc3199edee.tar.gz
ptxdist-6aaa7e26c473e7cfefc90895ed31abbc3199edee.tar.xz
frodo: fix building with gcc 7.x
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/frodo.make3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/frodo.make b/rules/frodo.make
index 889a69561..37fb0e89c 100644
--- a/rules/frodo.make
+++ b/rules/frodo.make
@@ -44,6 +44,9 @@ FRODO_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--without-x
+# cpp files are built with gcc
+FRODO_CFLAGS := -std=c++98
+
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------