Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 30 Aug 2003 18:51:25 +0000 (18:51 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 30 Aug 2003 18:51:25 +0000 (18:51 +0000)
* 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
inet/Makefile
resolv/Makefile

index 3253b75..f991599 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2003-08-30  Ulrich Drepper  <drepper@redhat.com>
 
+       * 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.
index 6a0c0c5..747b680 100644 (file)
@@ -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
 
index c24197d..1f2ecc5 100644 (file)
@@ -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