diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2024-10-26 10:11:45 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2024-10-26 10:11:45 +0200 |
| commit | 771a1fabce59ee3614a578c894c46fc56d6db0ac (patch) | |
| tree | f8c8bb16a2df1d14649eea3e8c365060b0e3ecf8 | |
| parent | 5c4d6110f1f071f2c732e3edb9e53b90df9b14de (diff) | |
| download | teachos-toolchain-771a1fabce59ee3614a578c894c46fc56d6db0ac.tar.xz teachos-toolchain-771a1fabce59ee3614a578c894c46fc56d6db0ac.zip | |
gcc: disable internal library exceptions
| -rwxr-xr-x | scripts/build.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index d155974..1ac8f47 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -133,6 +133,7 @@ CXXFLAGS=${CXXFLAGS/-Werror=format-security/} --disable-plugin \ --libexecdir=/usr/lib \ --enable-languages=c,c++ \ + --enable-cxx-flags=-fno-exceptions \ --disable-hosted-libstdcxx \ --disable-wchar_t \ --with-newlib |
