Move @ac_libiberty_warn_cflags@ earlier in COMPILE.c so that -Wno-* flags

added to CFLAGS at configure time actually do something useful.  (Needed
so that some warnings can be turned off under -Werror.)
This commit is contained in:
tv 2001-05-30 09:22:08 +00:00
parent f591dd2f9d
commit 05d1203a2e

View File

@ -106,7 +106,7 @@ installcheck: installcheck-subdir
INCDIR=$(srcdir)/$(MULTISRCTOP)../include
COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
COMPILE.c = $(CC) -c @DEFS@ @ac_libiberty_warn_cflags@ $(LIBCFLAGS) $(HDEFINES) -I. -I$(INCDIR)
.c.o:
if [ x"$(PICFLAG)" != x ]; then \
$(COMPILE.c) $(PICFLAG) $< -o pic/$@; \