mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
make: fix exported symbols regex for non-GNU sed
Remove a couple of incorrect backslashes from expressions used to generate lists of exported symbols so it works with busybox sed. [John Spencer]
This commit is contained in:
parent
c6cf2ed7fd
commit
2e4a66a761
@ -1,5 +1,6 @@
|
||||
Version 2.02.99 -
|
||||
===================================
|
||||
Fix exported symbols regex for non-GNU busybox sed.
|
||||
Accept --yes in all commands so test scripts can be simpler.
|
||||
Fix alignment of PV data area if detected alignment less than 1 MB (2.02.74).
|
||||
Fix memory resource leak in memlocking error path.
|
||||
|
@ -392,7 +392,7 @@ distclean: cleandir $(SUBDIRS.distclean)
|
||||
( cat $(srcdir)/.exported_symbols; \
|
||||
if test x$(EXPORTED_HEADER) != x; then \
|
||||
$(CC) -E -P $(INCLUDES) $(DEFS) $(EXPORTED_HEADER) | \
|
||||
$(SED) -ne "/^typedef|}/!s/.*[ \*]\(\$(EXPORTED_FN_PREFIX)_[a-z0-9_]*\)(.*/\1/p"; \
|
||||
$(SED) -ne "/^typedef|}/!s/.*[ *]\($(EXPORTED_FN_PREFIX)_[a-z0-9_]*\)(.*/\1/p"; \
|
||||
fi \
|
||||
) > $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user