* common/Makefile.in (CFLAGS): New.
	(COMPILE): Add $(CFLAGS).
This commit is contained in:
Jan Kratochvil 2011-02-21 20:04:25 +00:00
parent ea666128f4
commit 8caa75eee4
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -23,6 +23,10 @@ AUTOHEADER = @AUTOHEADER@
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)
@ -37,7 +41,8 @@ all: libcommon.a
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