Skip to content

Commit 4485d6f

Browse files
authored
Fix flags
-stdlib should not be changed. It breaks build on e.g. FreeBSD where libc++ is used.
1 parent 2c39466 commit 4485d6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
180180
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
181181
# more tweaks
182182
if (NOT (MSVC OR MSYS OR APPLE))
183-
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-const-variable -Wno-overloaded-virtual -Wno-c99-extensions -stdlib=libstdc++" )
183+
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-const-variable -Wno-overloaded-virtual -Wno-c99-extensions" )
184184
endif()
185185
endif ()
186186

0 commit comments

Comments
 (0)