* 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.
This commit is contained in:
Ulrich Drepper 2003-08-30 18:51:25 +00:00
parent 2b29b09e66
commit 443f79339b
3 changed files with 10 additions and 3 deletions

View File

@ -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.

View 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

View 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