* common/Makefile.in (CFLAGS): New.
(COMPILE): Add $(CFLAGS).
+2011-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * common/Makefile.in (CFLAGS): New.
+ (COMPILE): Add $(CFLAGS).
+
2011-02-21 Tom Tromey <tromey@redhat.com>
* breakpoint.c (catch_syscall_command_1): Fix typo.
RANLIB = @RANLIB@
COMMON_CPU_OBJ = @COMMON_CPU_OBJ@
+# CFLAGS is specifically reserved for setting from the command line
+# when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
+CFLAGS = @CFLAGS@
+
BFD_DIR = ../../bfd
BFD_SRC = $(srcdir)/$(BFD_DIR)
BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
signals.o: $(srcdir)/signals.c
$(COMPILE) $(srcdir)/signals.c
-COMPILE = source='$<' object='$@' libtool=no $(CC) $(DEFS) $(INCLUDES) @GDB_FLAGS@ $(CPPFLAGS) $(ALL_CFLAGS) -c
+COMPILE = source='$<' object='$@' libtool=no $(CC) $(DEFS) $(INCLUDES) \
+ @GDB_FLAGS@ $(CPPFLAGS) $(ALL_CFLAGS) $(CFLAGS) -c
# Implicit rules