summaryrefslogtreecommitdiff
path: root/tools/notsd-move
diff options
context:
space:
mode:
Diffstat (limited to 'tools/notsd-move')
-rwxr-xr-xtools/notsd-move4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/notsd-move b/tools/notsd-move
index 5a907109bd..2f6ad3f1b0 100755
--- a/tools/notsd-move
+++ b/tools/notsd-move
@@ -742,12 +742,12 @@ breakup_makefile() (
fixup_makefile() {
sed -r \
-e '#### Specific complete strings #####' \
- -e 's|\$\(CPP\)·\$\(CFLAGS\)·\$\(AM_CPPFLAGS\)·\$\(CPPFLAGS\)·|$(CPP) $(sd.ALL_CPPFLAGS) |g' \
+ -e 's|\$\(CPP\) \$\(CFLAGS\) \$\(AM_CPPFLAGS\) \$\(CPPFLAGS\)|$(CPP) $(sd.ALL_CPPFLAGS)|g' \
-e '/^ \$\(AM_V_at\)\$\(MKDIR_P\) \$\(dir \$@\)/d' \
-e '#### General cases #################' \
-e '/^[^# ]*:/ { s|^(\s*)\S+/|\1$(outdir)/| }' \
-e 's|^if (.*)|ifneq ($(\1),)|' \
- -e '/\bAM_(C|CPP|LD)FLAGS\b/d' \
+ -e '/^\s*\$\(AM_(C|CPP|LD)FLAGS\b/d' \
-e 's|--version-script=.*/([^/]+)\.sym|--version-script=$(srcdir)/\1.sym|g'
}