mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
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.
This commit is contained in:
parent
2b29b09e66
commit
443f79339b
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user