MAPREDUCE-7373. Building MapReduce NativeTask fails on Fedora 34+ (#4120)
This commit is contained in:
parent
08e6d0ce60
commit
dc4a680da8
|
@ -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