From 443f79339b4313c6001388ca03d34d76be4a380d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 30 Aug 2003 18:51:25 +0000 Subject: [PATCH] Update. * inet/Makefile (CFLAGS-gethstbyad_r.c): Add -fexceptions. (CFLAGS-gethstbynm_r.c): Likewise. (CFLAGS-gethstbynm2_r.c): Likewise. * resolv/Makefile (CFLAGS-res_hconf.c): Add -fexceptions. --- ChangeLog | 5 +++++ inet/Makefile | 6 +++--- resolv/Makefile | 2 ++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3253b754ec..f991599cb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2003-08-30 Ulrich Drepper + * inet/Makefile (CFLAGS-gethstbyad_r.c): Add -fexceptions. + (CFLAGS-gethstbynm_r.c): Likewise. + (CFLAGS-gethstbynm2_r.c): Likewise. + * resolv/Makefile (CFLAGS-res_hconf.c): Add -fexceptions. + * argp/Makefile (CFLAGS-argp-help.c): Add -fexceptions. (CFLAGS-argp-fmtstream.c): Likewise. * argp/argp.h: Remove a number of __THROW. diff --git a/inet/Makefile b/inet/Makefile index 6a0c0c5d17..747b6800ea 100644 --- a/inet/Makefile +++ b/inet/Makefile @@ -56,9 +56,9 @@ include ../Rules ifeq ($(have-thread-library),yes) -CFLAGS-gethstbyad_r.c = -DUSE_NSCD=1 -CFLAGS-gethstbynm_r.c = -DUSE_NSCD=1 -CFLAGS-gethstbynm2_r.c = -DUSE_NSCD=1 +CFLAGS-gethstbyad_r.c = -DUSE_NSCD=1 -fexceptions +CFLAGS-gethstbynm_r.c = -DUSE_NSCD=1 -fexceptions +CFLAGS-gethstbynm2_r.c = -DUSE_NSCD=1 -fexceptions endif diff --git a/resolv/Makefile b/resolv/Makefile index c24197d2a3..1f2ecc528d 100644 --- a/resolv/Makefile +++ b/resolv/Makefile @@ -73,6 +73,8 @@ CPPFLAGS += -Dgethostbyname=res_gethostbyname \ -Dgetnetbyname=res_getnetbyname \ -Dgetnetbyaddr=res_getnetbyaddr +CFLAGS-res_hconf.c = -fexceptions + # The BIND code elicits some harmless warnings. +cflags += -Wno-strict-prototypes -Wno-write-strings