mirror of
https://github.com/ceph/ceph
synced 2025-01-03 01:22:53 +00:00
examples/Makefile: add -Wno-unused-parameter to avoid compile error
Signed-off-by: You Ji <youji@ebay.com>
This commit is contained in:
parent
4cf9e35cf5
commit
1803671166
@ -1,12 +1,12 @@
|
||||
|
||||
CXX?=g++
|
||||
CXX_FLAGS?=-std=c++11 -Wall -Wextra -Werror -g
|
||||
CXX_FLAGS?=-std=c++11 -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)
|
||||
|
||||
CC?=gcc
|
||||
CC_FLAGS=-Wall -Wextra -Werror -g
|
||||
CC_FLAGS=-Wno-unused-parameter -Wall -Wextra -Werror -g
|
||||
CC_INC=$(LOCAL_LIBRADOS_INC)
|
||||
CC_LIBS?=-lrados
|
||||
CC_CC=$(CC) $(CC_FLAGS) $(CC_INC) $(LOCAL_LIBRADOS)
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
CXX?=g++
|
||||
CXX_FLAGS?=-std=c++11 -Wall -Wextra -Werror -g
|
||||
CXX_FLAGS?=-std=c++11 -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)
|
||||
|
Loading…
Reference in New Issue
Block a user