Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From 262ccc4fdb2a3df0f16c61a807046964ae7729c9 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Mon, 2 Mar 2015 02:29:23 +0000 |
| 4 | Subject: [PATCH 2/3] Change order of CFLAGS |
| 5 | |
| 6 | Lets us override Werror if need be |
| 7 | |
| 8 | Upstream-Status: Inappropriate |
| 9 | |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | --- |
| 12 | gdb/gdbserver/Makefile.in | 4 ++-- |
| 13 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 14 | |
| 15 | diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in |
| 16 | index 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 | -- |
| 33 | 2.1.4 |
| 34 | |