From e7cab417080f3454ea984e19384d9f1bf9e48fba Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 30 Apr 2016 15:35:39 -0700
Subject: [PATCH] Change order of CFLAGS

Lets us override Werror if need be

Upstream-Status: Inappropriate

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 gdbserver/Makefile.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in
index 365dcf23650..fc16218334f 100644
--- a/gdbserver/Makefile.in
+++ b/gdbserver/Makefile.in
@@ -174,6 +174,7 @@ INTERNAL_CFLAGS = \
 	$(PTHREAD_CFLAGS) \
 	$(WARN_CFLAGS) \
 	$(WERROR_CFLAGS) \
+	${COMPILER_CFLAGS} \
 	-DGDBSERVER
 
 # LDFLAGS is specifically reserved for setting from the command line
