From: Ulrich Drepper Date: Sat, 30 Aug 2003 18:51:25 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_3_3~306 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=443f79339b4313c6001388ca03d34d76be4a380d;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 3253b754ece..f991599cb24 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 6a0c0c5d178..747b6800ea9 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 c24197d2a3b..1f2ecc528d5 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