summaryrefslogtreecommitdiff
path: root/login
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-02 07:14:15 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-02 07:14:15 +0000
commitf1c30c98b9c9720f2a542df7ae0b9cde4c162e7a (patch)
tree316c77f8647401e15d064910b7f33b0d2c84050d /login
parentc503d3dc512a5f7947d5b3d69d784028db3a639a (diff)
(CFLAGS-oldtmpfile.c): Add -fexceptions.
Diffstat (limited to 'login')
-rw-r--r--login/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/login/Makefile b/login/Makefile
index 48f7fefb68..2e414a3ee7 100644
--- a/login/Makefile
+++ b/login/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1996,1997,1998,2000,2001,2002 Free Software Foundation, Inc.
+# Copyright (C) 1996-1998,2000-2002,2003 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -47,6 +47,8 @@ libutil-routines:= login login_tty logout logwtmp openpty forkpty
include ../Rules
+CFLAGS-getpt.c = -fexceptions
+
ifeq (yes,$(build-static-nss))
otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
$(resolvobjdir)/libresolv.a $(common-objpfx)libc.a