MAPREDUCE-7373. Building MapReduce NativeTask fails on Fedora 34+ (#4120)

(cherry picked from commit dc4a680da8)
This commit is contained in:
Kengo Seki 2022-03-30 22:47:45 +09:00 committed by Masatake Iwasaki
parent 228ad1ac25
commit 5c6547d794
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ set(GTEST_SRC_DIR ${CMAKE_SOURCE_DIR}/../../../../hadoop-common-project/hadoop-c
# Add extra compiler and linker flags.
# -Wno-sign-compare
hadoop_add_compiler_flags("-DNDEBUG -DSIMPLE_MEMCPY -fno-strict-aliasing -fsigned-char")
set(CMAKE_CXX_STANDARD 11)
# Source location.
set(SRC main/native)