Filter out <command-line> from preprocessor output in makedepend.SH
to fix build with GCC 4.2.0.
This commit is contained in:
parent
a6de985fad
commit
188c8ca8d4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191443
@ -8,12 +8,13 @@
|
||||
*) $touch $firstmakefile ;;
|
||||
esac
|
||||
fi
|
||||
@@ -129,6 +130,8 @@
|
||||
@@ -129,6 +130,9 @@
|
||||
$cppstdin $finc -I. $cppflags $cppminus <UU/$file.c |
|
||||
$sed \
|
||||
-e '/^#.*<stdin>/d' \
|
||||
+ -e '/^#.*<built-in>/d' \
|
||||
+ -e '/^#.*<command line>/d' \
|
||||
+ -e '/^#.*<command-line>/d' \
|
||||
-e '/^#.*"-"/d' \
|
||||
-e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
|
||||
-e 's/^[ ]*#[ ]*line/#/' \
|
||||
|
Loading…
Reference in New Issue
Block a user