]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
examples/librbd: drop -std=c++11 from CXXFLAGS
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 21 Feb 2023 20:37:13 +0000 (20:37 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 21 Feb 2023 20:43:18 +0000 (20:43 +0000)
In terms of `CXXFLAGS` this commit does for `examples/librbd`
exactly what be838652fae1ee4683b62785192a58992a76d1fe already
did to `examples/librados`. Together they cover the purpose
of the long-waiting PR #44738.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
examples/librbd/Makefile

index 2cd9f269aa8f3695d9520a9fd0830c0b765126be..692d145d1607fac067d3e97493ca8bd8e53c032e 100644 (file)
@@ -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?=-lboost_system -lrbd -lrados
 CXX_INC?=$(LOCAL_LIBRADOS_INC)
 CXX_CC=$(CXX) $(CXX_FLAGS) $(CXX_INC) $(LOCAL_LIBRADOS)