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:
parent
f591dd2f9d
commit
05d1203a2e
2
gnu/dist/toolchain/libiberty/Makefile.in
vendored
2
gnu/dist/toolchain/libiberty/Makefile.in
vendored
@ -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/$@; \
|
||||
|
Loading…
Reference in New Issue
Block a user