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

This commit is contained in:
Kengo Seki 2022-03-30 22:47:45 +09:00 committed by GitHub
parent 08e6d0ce60
commit dc4a680da8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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. # Add extra compiler and linker flags.
# -Wno-sign-compare # -Wno-sign-compare
hadoop_add_compiler_flags("-DNDEBUG -DSIMPLE_MEMCPY -fno-strict-aliasing -fsigned-char") hadoop_add_compiler_flags("-DNDEBUG -DSIMPLE_MEMCPY -fno-strict-aliasing -fsigned-char")
set(CMAKE_CXX_STANDARD 11)
# Source location. # Source location.
set(SRC main/native) set(SRC main/native)