summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-08-30 18:51:25 +0000
committerUlrich Drepper <drepper@redhat.com>2003-08-30 18:51:25 +0000
commit443f79339b4313c6001388ca03d34d76be4a380d (patch)
tree34874ed9ecb5ccc69e7f7a878797463ab7c0ba15
parent2b29b09e66c3999dbe75aee6227f975527531d96 (diff)
downloadglibc-443f79339b4313c6001388ca03d34d76be4a380d.tar.gz
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.
-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