summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-07-14 12:24:38 +0000
committergahr <gahr@FreeBSD.org>2014-07-14 12:24:38 +0000
commite896978a89ed4c7197289b14491cd046e56d2149 (patch)
treedc1fb06c3beb2b9315c2146db23be6a133a01c6d /usr.bin
parent7eb2d27b75eaa18247aa3a67c2727350e2029a88 (diff)
downloadFreeBSD-src-e896978a89ed4c7197289b14491cd046e56d2149.zip
FreeBSD-src-e896978a89ed4c7197289b14491cd046e56d2149.tar.gz
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
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/users/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/users/Makefile b/usr.bin/users/Makefile
index 1bf0edf..dd04a11 100644
--- a/usr.bin/users/Makefile
+++ b/usr.bin/users/Makefile
@@ -3,6 +3,6 @@
WARNS= 3
PROG_CXX= users
-CXXFLAGS+= -fno-rtti -fno-exceptions
+CXXFLAGS+= -fno-rtti
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud