[Pdbg] [PATCH] Makefile: Add ARCH_FLAGS to pdbg_CFLAGS

rashmica rashmicy at gmail.com
Mon May 21 17:17:38 AEST 2018


IGNORE THIS PATCH. I somehow deleted ARCH_FLAGS from pdbg_CFLAGS when
rebasing my WIP branch on master...  :P


On 21/05/18 16:37, Rashmica Gupta wrote:
> ARCH_FLAGS was not being used and so code that was in arch specific
> ifdefs was not being included when it should have.
>
> Fixes:cad634a9 (main: Conditionally build device trees based on arch)
>
> Signed-off-by: Rashmica Gupta <rashmica.g at gmail.com>
> ---
>  Makefile.am | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index cf2d518..21a09ab 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -36,7 +36,8 @@ pdbg_SOURCES = \
>  	src/main.c src/cfam.c src/scom.c src/reg.c src/mem.c src/thread.c \
>  	src/ring.c src/htm.c src/progress.c src/options_ at ARCH@.c
>  
> -pdbg_CFLAGS = -I$(top_srcdir)/libpdbg -Wall -Werror -DGIT_SHA1=\"${GIT_SHA1}\"
> +pdbg_CFLAGS = -I$(top_srcdir)/libpdbg -Wall -Werror -DGIT_SHA1=\"${GIT_SHA1}\" \
> +	$(ARCH_FLAGS)
>  
>  if GDBSERVER
>  pdbg_SOURCES += \



More information about the Pdbg mailing list