aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--inet/Makefile6
-rw-r--r--resolv/Makefile2
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 <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.
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