blob: bccb45fda15481f25c2d01c77e70c7080cfdf1df [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001From 262ccc4fdb2a3df0f16c61a807046964ae7729c9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Mar 2015 02:29:23 +0000
4Subject: [PATCH 2/3] Change order of CFLAGS
5
6Lets us override Werror if need be
7
8Upstream-Status: Inappropriate
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 gdb/gdbserver/Makefile.in | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
16index 1ed2ec8..0cef95b 100644
17--- a/gdb/gdbserver/Makefile.in
18+++ b/gdb/gdbserver/Makefile.in
19@@ -131,10 +131,10 @@ CFLAGS = @CFLAGS@
20 CPPFLAGS = @CPPFLAGS@
21
22 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
23-INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \
24+INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \
25 ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CPPFLAGS}
26 INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
27-INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER
28+INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS} -DGDBSERVER
29
30 # LDFLAGS is specifically reserved for setting from the command line
31 # when running make.
32--
332.1.4
34