| From 262ccc4fdb2a3df0f16c61a807046964ae7729c9 Mon Sep 17 00:00:00 2001 |
| From: Khem Raj <raj.khem@gmail.com> |
| Date: Mon, 2 Mar 2015 02:29:23 +0000 |
| Subject: [PATCH 2/3] Change order of CFLAGS |
| |
| Lets us override Werror if need be |
| |
| Upstream-Status: Inappropriate |
| |
| Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| --- |
| gdb/gdbserver/Makefile.in | 4 ++-- |
| 1 file changed, 2 insertions(+), 2 deletions(-) |
| |
| diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in |
| index 1ed2ec8..0cef95b 100644 |
| --- a/gdb/gdbserver/Makefile.in |
| +++ b/gdb/gdbserver/Makefile.in |
| @@ -131,10 +131,10 @@ CFLAGS = @CFLAGS@ |
| CPPFLAGS = @CPPFLAGS@ |
| |
| # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. |
| -INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \ |
| +INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \ |
| ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CPPFLAGS} |
| INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) |
| -INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER |
| +INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS} -DGDBSERVER |
| |
| # LDFLAGS is specifically reserved for setting from the command line |
| # when running make. |
| -- |
| 2.1.4 |
| |