cxx: don't set stdc++fs globally

Linking to stdc++fs in the wrong order can produce an ICE under GCC.
Linking globally will place stdc++fs at the front of the library list
(which is the trigger for the ICE). We rely on the clients linking
manually where required.
This commit is contained in:
Danny Robson 2019-01-02 13:42:54 +11:00
parent fc58c76599
commit 6b7a06ddb7

View File

@ -61,7 +61,7 @@ if (NOT DEFINED __nc_cxx_stdcxxfs)
endif ()
endif ()
link_libraries (${__nc_cxx_stdcxxfs})
set(NC_CXX_STDCXXFS ${__nc_cxx_stdcxxfs})
###############################################################################