summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMatan Breizman <mbreizma@redhat.com>2022-08-31 20:02:18 +0200
committerMatan Breizman <mbreizma@redhat.com>2022-09-19 15:18:20 +0200
commitbe838652fae1ee4683b62785192a58992a76d1fe (patch)
tree63e07c9f2d05953022703ea68733bcf0b474658e /examples
parentMerge pull request #47673 from rhcs-dashboard/test_rbd_list (diff)
downloadceph-be838652fae1ee4683b62785192a58992a76d1fe.tar.xz
ceph-be838652fae1ee4683b62785192a58992a76d1fe.zip
examples: Compile with c++20
This change will apply to ubuntu only. Fixes: https://tracker.ceph.com/issues/57163 Signed-off-by: Matan Breizman <mbreizma@redhat.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/librados/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/librados/Makefile b/examples/librados/Makefile
index fd61cb99803..a97d640eb1f 100644
--- a/examples/librados/Makefile
+++ b/examples/librados/Makefile
@@ -1,6 +1,6 @@
CXX?=g++
-CXX_FLAGS?=-std=c++11 -Wno-unused-parameter -Wall -Wextra -Werror -g
+CXX_FLAGS+=-Wno-unused-parameter -Wall -Wextra -Werror -g
CXX_LIBS?=-lrados -lradosstriper
CXX_INC?=$(LOCAL_LIBRADOS_INC)
CXX_CC=$(CXX) $(CXX_FLAGS) $(CXX_INC) $(LOCAL_LIBRADOS)