-fexceptions seems to be the default for gcc and clang, anyways.
The common options are factored out into a new helper function, with the option of a mode argument, which is either user-facing (the default, adds -fno-stack-protector on Unix systems) or lib-facing (no-op).
-fexceptions
seems to be the default for gcc and clang, anyways.The common options are factored out into a new helper function, with the option of a
mode
argument, which is either user-facing (the default, adds-fno-stack-protector
on Unix systems) or lib-facing (no-op).