gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 21 Feb 2011 20:04:25 +0000 (20:04 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 21 Feb 2011 20:04:25 +0000 (20:04 +0000)
* common/Makefile.in (CFLAGS): New.
(COMPILE): Add $(CFLAGS).

gdb/ChangeLog
gdb/common/Makefile.in

index 5e8f7131273621cf98d81b62c5a21d4fa3100ba1..bd4667e40288d57185e8d4e9193cf8c64c2a7b50 100644 (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.
index a87f2d1a2c422c6b1123589a3a3fc8f3a92d6b5b..9230b8793c611b80efab223b62c6729d6df0a7d4 100644 (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
 
This page took 0.027432 seconds and 4 git commands to generate.