forked from huawei/mindspore2022
!19909 [MS][LITE][r1.3] evade an random convert error caused by compile param
Merge pull request !19909 from XianglongZeng/r1.3_
This commit is contained in:
commit
bcaafbf68d
|
|
@ -29,9 +29,9 @@ if(PLATFORM_ARM32 OR PLATFORM_ARM64)
|
|||
else()
|
||||
if("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fomit-frame-pointer -fstrict-aliasing -ffunction-sections \
|
||||
-fdata-sections -ffast-math -fno-rtti -fno-exceptions")
|
||||
-fdata-sections -ffast-math -fno-rtti")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fomit-frame-pointer -fstrict-aliasing -ffunction-sections \
|
||||
-fdata-sections -ffast-math -fno-rtti -fno-exceptions")
|
||||
-fdata-sections -ffast-math -fno-rtti")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue