Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
e819ee44
Commit
e819ee44
authored
Jun 20, 2003
by
Kelley Cook
Committed by
Neil Booth
Jun 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* opts.sh: Tweak awk script for portability.
From-SVN: r68282
parent
ae4a7155
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
gcc/ChangeLog
+4
-0
gcc/opts.sh
+2
-6
No files found.
gcc/ChangeLog
View file @
e819ee44
2003-06-20 Kelley Cook <kelleycook@wideopenwest.com>
* opts.sh: Tweak awk script for portability.
2003-06-20 Mark Mitchell <mark@codesourcery.com>
PR c++/10888
...
...
gcc/opts.sh
View file @
e819ee44
...
...
@@ -33,15 +33,11 @@ SORT=sort # Could be /bin/sort or /usr/bin/sort
C_FILE
=
$1
;
shift
H_FILE
=
$1
;
shift
# Must unset, so that RS="" works in gawk 3.0-3.1.1 (possibly earlier too)
# Appears to be a gawk bug, RS="" is not an extension
unset
POSIXLY_CORRECT
${
AWK
}
'
BEGIN{ RS=""; FS="\n" }
# Ignore comments and blank lines
/^[ \t]*(;|$)/ { next }
/^[^ \t]/ { gsub ("\n", "\034", $0); print }
# Note that RS="" falls foul of gawk 3.1.2 bugs
/^[^ \t]/ { getline tmp; print $0 "\034" tmp}
'
"
$@
"
|
${
SORT
}
|
${
AWK
}
'
function switch_flags (flags, result)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment