HLFS: Glibc book - Chapter 6. kbd-1.12 issue ?

Antonio Flores anflogo at gmail.com
Tue Nov 1 03:21:58 PST 2005


--- The book says:

sed -e 's/^CFLAGS .*$/& -pie -fpie/'  -i openvt/Makefile src/Makefile.in

--- I think there are an issue there,  and must be:

sed -e 's/^CFLAGS.*$/& -pie -fpie/' -i openvt/Makefile
                             ^ no space
sed -e 's/^CFLAGS .*$/& -pie -fpie/' -i src/Makefile.in

--- Please, can you say me if the next comand is ok ?:
sed -e 's/^LDFLAGS .*$/& $(CFLAGS)/' -i src/Makefile.in

It seems work well.

Thanks in advance.


More information about the hlfs-dev mailing list