diff --git a/component/mydumper/buildout.cfg b/component/mydumper/buildout.cfg index 60d312220b2af5c13831fcfe94dc4789bea7467a..7ec23de0ff463a8b752a21fc7bf3704788c66673 100644 --- a/component/mydumper/buildout.cfg +++ b/component/mydumper/buildout.cfg @@ -25,7 +25,7 @@ libraries = ${zlib:location}/lib/:${glib:location}/lib/:${pcre:location}/lib/:${ includes = ${zlib:location}/include/:${glib:location}/include/:${pcre:location}/include/:${mariadb:location}/include/mysql/ cflags = -I${zlib:location}/include/ -I${glib:location}/include/ -I${pcre:location}/include/ -I${mariadb:location}/include/mysql/ mydumper-patches = - ${:_profile_base_location_}/mydumper-remove-warnings-errors.patch 3dcc9594ebe267cdddf8ce00f0a04dbd -p1 -R + ${:_profile_base_location_}/mydumper-remove-warnings-errors.patch 917fea16b5ddea195cfa33fbd9827f57 -p1 slapos_promise = directory:bin file:bin/mydumper diff --git a/component/mydumper/mydumper-remove-warnings-errors.patch b/component/mydumper/mydumper-remove-warnings-errors.patch index 952ecd7516aa3a91f20c2dc461072ff82a5fd883..d3db33ad56d01ec1a8003ce5c5f3764c23003a69 100644 --- a/component/mydumper/mydumper-remove-warnings-errors.patch +++ b/component/mydumper/mydumper-remove-warnings-errors.patch @@ -4,8 +4,8 @@ add_subdirectory(docs) --set(CMAKE_C_FLAGS "-Wall -Wunused -Wwrite-strings -Wno-strict-aliasing -Wextra -Wshadow -O3 -g ${MYSQL_CFLAGS}") -+set(CMAKE_C_FLAGS "-Wall -Wunused -Wwrite-strings -Wno-strict-aliasing -Wextra -Wshadow -Werror -O3 -g ${MYSQL_CFLAGS}") +-set(CMAKE_C_FLAGS "-Wall -Wunused -Wwrite-strings -Wno-strict-aliasing -Wextra -Wshadow -Werror -O3 -g ${MYSQL_CFLAGS}") ++set(CMAKE_C_FLAGS "-Wall -Wunused -Wwrite-strings -Wno-strict-aliasing -Wextra -Wshadow -O3 -g ${MYSQL_CFLAGS}") include_directories(${MYDUMPER_SOURCE_DIR} ${MYSQL_INCLUDE_DIR} ${GLIB2_INCLUDE_DIR} ${PCRE_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS})