rstudio/rstudio — comment on commit cb3afc986c1e2a0d9e1dc9c0d4b20b04316361f4
File: src/cpp/session/consoleio/CMakeLists.txt line 33
By jjallaire:

Removed the LINK_FLAGS as well (commit: https://github.com/rstudio/rstudio/commit/cd5c7768eaa4bb72e2fc0c5cdfa1e113e35cfac8)

These were actually not even being used (you would have needed to pass them explicitly in the target_link_libraries directive for them to take effect). Elsewhere in source we do set LINK_FLAGS for the desktop executable so we can flag the subsystem as "windows". For rsession we don't set any custom link flags which presumably means that console applications don't require-Wl,subsystem,console under mingw.