From 78df7965cb8d93b611b3437b2343f1b9a1b5a071 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 23 Jan 2009 16:39:42 -0800 Subject: [PATCH] Use quotes around command substitution that can produce leading whitespace. --- libcpu/ChangeLog | 5 +++++ libcpu/Makefile.am | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libcpu/ChangeLog b/libcpu/ChangeLog index a043e45f4..12400f6bc 100644 --- a/libcpu/ChangeLog +++ b/libcpu/ChangeLog @@ -1,3 +1,8 @@ +2009-01-23 Roland McGrath + + * Makefile.am (i386_parse_CFLAGS): Use quotes around command + substitution that can produce leading whitespace. + 2009-01-01 Ulrich Drepper * i386_parse.y (instrtable_out): Optimize match_data table by not diff --git a/libcpu/Makefile.am b/libcpu/Makefile.am index 51817c1e2..e47dc0b02 100644 --- a/libcpu/Makefile.am +++ b/libcpu/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to create Makefile.in ## -## Copyright (C) 2002, 2004, 2005, 2007, 2008 Red Hat, Inc. +## Copyright (C) 2002, 2004, 2005, 2007, 2008, 2009 Red Hat, Inc. ## This file is part of Red Hat elfutils. ## ## Red Hat elfutils is free software; you can redistribute it and/or modify @@ -70,7 +70,7 @@ libeu = ../lib/libeu.a i386_lex_CFLAGS = -Wno-unused-label -Wno-unused-function -Wno-sign-compare i386_parse.o: i386_parse.c i386.mnemonics -i386_parse_CFLAGS = -DNMNES=$$(wc -l < i386.mnemonics) +i386_parse_CFLAGS = -DNMNES="`wc -l < i386.mnemonics`" i386_lex.o: i386_parse.h i386_gendis_LDADD = $(libeu) -lm $(libmudflap) -- 2.47.2