Reduce warning level of distributed Yoga builds #1592
@@ -33,8 +33,6 @@ Pod::Spec.new do |spec|
|
|||||||
'-fexceptions',
|
'-fexceptions',
|
||||||
'-Wall',
|
'-Wall',
|
||||||
'-Werror',
|
'-Werror',
|
||||||
'-Wextra',
|
|
||||||
'-Wconversion',
|
|
||||||
'-std=c++20',
|
'-std=c++20',
|
||||||
'-fPIC'
|
'-fPIC'
|
||||||
]
|
]
|
||||||
|
@@ -33,9 +33,7 @@ add_compile_options(
|
|||||||
-fexceptions
|
-fexceptions
|
||||||
# Enable warnings and warnings as errors
|
# Enable warnings and warnings as errors
|
||||||
-Wall
|
-Wall
|
||||||
-Wextra
|
|
||||||
-Werror
|
-Werror
|
||||||
-Wconversion
|
|
||||||
# Disable RTTI
|
# Disable RTTI
|
||||||
$<$<COMPILE_LANGUAGE:CXX>:-fno-rtti>
|
$<$<COMPILE_LANGUAGE:CXX>:-fno-rtti>
|
||||||
# Use -O2 (prioritize speed)
|
# Use -O2 (prioritize speed)
|
||||||
|
Reference in New Issue
Block a user