summaryrefslogtreecommitdiffstats
path: root/libcpu
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-01-23 16:39:42 -0800
committerRoland McGrath <roland@redhat.com>2009-01-23 16:39:42 -0800
commit78df7965cb8d93b611b3437b2343f1b9a1b5a071 (patch)
treee35f0c31431fdead9a3c19360efa95108b236b79 /libcpu
parent3bf7a0989c1126ee23347cf406dd3cd22d9d7194 (diff)
Use quotes around command substitution that can produce leading whitespace.
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/ChangeLog5
-rw-r--r--libcpu/Makefile.am4
2 files changed, 7 insertions, 2 deletions
diff --git a/libcpu/ChangeLog b/libcpu/ChangeLog
index a043e45f..12400f6b 100644
--- a/libcpu/ChangeLog
+++ b/libcpu/ChangeLog
@@ -1,3 +1,8 @@
+2009-01-23 Roland McGrath <roland@redhat.com>
+
+ * Makefile.am (i386_parse_CFLAGS): Use quotes around command
+ substitution that can produce leading whitespace.
+
2009-01-01 Ulrich Drepper <drepper@redhat.com>
* i386_parse.y (instrtable_out): Optimize match_data table by not
diff --git a/libcpu/Makefile.am b/libcpu/Makefile.am
index 51817c1e..e47dc0b0 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)