mirror of https://gitee.com/bigwinds/arangodb
do not compile v8 with -Werror
This commit is contained in:
parent
b1988c94b8
commit
f0ed218ae9
|
@ -76,8 +76,6 @@ else ()
|
||||||
set(ICU_BIN_DIR "${ICU_BIN_DIR}/obj.target/third_party/icu")
|
set(ICU_BIN_DIR "${ICU_BIN_DIR}/obj.target/third_party/icu")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# do not add -Dwerror='', this breaks under gyp
|
|
||||||
|
|
||||||
list(APPEND V8_GYP_ARGS
|
list(APPEND V8_GYP_ARGS
|
||||||
-Ibuild/standalone.gypi
|
-Ibuild/standalone.gypi
|
||||||
--depth=.
|
--depth=.
|
||||||
|
@ -85,6 +83,7 @@ else ()
|
||||||
-Dlinux_use_bundled_gold=0
|
-Dlinux_use_bundled_gold=0
|
||||||
-Dlinux_use_gold_flags=0
|
-Dlinux_use_gold_flags=0
|
||||||
-Dv8_no_strict_aliasing=1
|
-Dv8_no_strict_aliasing=1
|
||||||
|
-Dwerror=
|
||||||
)
|
)
|
||||||
|
|
||||||
if (APPLE AND CMAKE_COMPILER_IS_CLANG)
|
if (APPLE AND CMAKE_COMPILER_IS_CLANG)
|
||||||
|
|
Loading…
Reference in New Issue