MAPREDUCE-7373. Building MapReduce NativeTask fails on Fedora 34+ (#4120)
(cherry picked from commit dc4a680da8
)
This commit is contained in:
parent
1ee93f7947
commit
85843f2158
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue