CMake: remove workaround for GCC 4.5 as 9.3.1 is the minimum version

The -fpermissive flag is best avoided as it suppresses some important
warnings/errors.
This commit is contained in:
Campbell Barton 2022-09-26 11:51:12 +10:00
parent 20276191e5
commit 96d88e5614
1 changed files with 0 additions and 5 deletions

View File

@ -122,9 +122,4 @@ if(WITH_BUILDINFO)
add_definitions(-DWITH_BUILDINFO)
endif()
if(CMAKE_COMPILER_IS_GNUCXX)
# COLLADAFWArray.h gives error with gcc 4.5
string(APPEND CMAKE_CXX_FLAGS " -fpermissive")
endif()
blender_add_lib(bf_collada "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")