summaryrefslogtreecommitdiff
path: root/tools/notsd-move
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-15 01:48:15 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-15 01:48:15 -0400
commit17b593aacd4e8d056f2be860a7b744004892ecbd (patch)
treee7e47f9fdbc1ccc00f6fa7eaba2ff608e8adf7a9 /tools/notsd-move
parent5caf817f3d48ea67893cd0b2e9c91f2f323a5356 (diff)
fix
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'
}