diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-04-21 08:30:45 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-04-21 08:30:45 +0100 |
commit | a92557455dfac85754540f39d2983f9a283db21f (patch) | |
tree | 8d1fe13b8e185fa7c263b80c96ab877bd390a06d /docs/misc/tmem-internals.html | |
parent | 284d5633be373b57954d71ca9ab13ba4bc82493d (diff) | |
download | xen-a92557455dfac85754540f39d2983f9a283db21f.tar.gz xen-a92557455dfac85754540f39d2983f9a283db21f.tar.bz2 xen-a92557455dfac85754540f39d2983f9a283db21f.zip |
xen: build fix GNU sed vs. BSD sed
Fixes the build error below:
gmake[5]: Entering directory `xen/arch/x86/boot'
gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m32
-march=3Di686 -g -fno-strict-aliasing -std=3Dgnu99 -Wall
-Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement -fno-stack-protector
-Werror -fno-builtin -msoft-float -c reloc.c -o reloc.o
ld -melf_i386 -N -Ttext -o reloc.lnk reloc.o
ld: invalid hex number `-o'
BSD sed does not support the '+' in the basic re while gnu sed does.
BSD sed supports '+' in the extended re and uses the -E flag while
gnu sed uses -r.
The only difference with the original version is that the '+'
qualifier is replaced with '\{1\,\}' which should work with both BSD
sed and GNU sed.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'docs/misc/tmem-internals.html')
0 files changed, 0 insertions, 0 deletions