mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 10:06:25 +01:00
Unbreak the build by re-enabling exceptions.
Disabling them breaks build on archs using GCC. The problem is at line 156 of bits/basic_ios.h: if (this->exceptions() & __state) __throw_exception_again; With exceptions disabled __throw_exception_again is defined as #define __throw_exception_again at line 45 of exception_defines.h and the code results in an empty loop body, which fails because of -Werror. Approved by: cognet
This commit is contained in:
parent
4cda7f7ece
commit
2d2187338e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268619
@ -3,6 +3,6 @@
|
||||
|
||||
WARNS= 3
|
||||
PROG_CXX= users
|
||||
CXXFLAGS+= -fno-rtti -fno-exceptions
|
||||
CXXFLAGS+= -fno-rtti
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user