Skip to content

Commit

Permalink
Merge pull request #2857 from GeniusVentures/master
Browse files Browse the repository at this point in the history
Remove libc++ setting for Linux clang builds
  • Loading branch information
jxt1234 authored May 16, 2024
2 parents 6a22d17 + a3ed479 commit 5313508
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -286,10 +286,6 @@ endif()

if(CMAKE_SYSTEM_NAME MATCHES "^Linux")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__STRICT_ANSI__")
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
# This is to workaround libgcc.a
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
endif()
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^armv7")
add_definitions(-mfpu=neon) #please define in project/cross-compile/arm.toolchain.cmake
endif()
Expand Down

0 comments on commit 5313508

Please sign in to comment.