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
fef01b21
Commit
fef01b21
authored
25 years ago
by
Bruce Korb
Committed by
Bruce Korb
25 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makesure the result shell script is writable
From-SVN: r26689
parent
bc639f90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
gcc/ChangeLog
+4
-0
gcc/fixinc/mkfixinc.sh
+4
-1
No files found.
gcc/ChangeLog
View file @
fef01b21
1999
-
04
-
28
14
:
40
Bruce
Korb
<
ddsinc09
@ix
.
netcom
.
com
>
*
fixinc
/
mkfixinc
.
sh
:
Makesure
the
result
shell
script
is
writable
Wed
Apr
28
10
:
36
:
39
1999
Andreas
Schwab
<
schwab
@issan
.
cs
.
uni
-
dortmund
.
de
>
*
config
/
m68k
/
m68k
.
md
(
cmpsi
+
1
)
:
Use
cmp
.
w
when
comparing
a
16
bit
...
...
This diff is collapsed.
Click to expand it.
gcc/fixinc/mkfixinc.sh
View file @
fef01b21
...
...
@@ -109,6 +109,7 @@ esac
if
test
-z
"
$fixincludes
"
then
(
echo
"#! /bin/sh"
;
echo
"exit 0"
)
>
${
target
}
chmod 755
${
target
}
exit
0
fi
...
...
@@ -119,6 +120,7 @@ if test -f ${srcdir}/"${fixincludes}"
then
echo
copying
${
srcdir
}
/
$fixincludes
to
${
target
}
cp
${
srcdir
}
/
$fixincludes
${
target
}
chmod 755
${
target
}
exit
0
fi
...
...
@@ -128,7 +130,7 @@ echo $MAKE SHELL=\"$SHELL\" install
# make and install either the binary or the default script
#
$MAKE
SHELL
=
"
$SHELL
"
install
&&
exit
0
$MAKE
SHELL
=
"
$SHELL
"
install
&&
chmod 755
${
target
}
&&
exit
0
# Where is our inclhack script? That is the backup
# in case we are unable to make a working binary.
...
...
@@ -144,3 +146,4 @@ echo Could not install binary fixincludes.
echo
Installing shell script instead.
cp
${
INCLHACK
}
${
target
}
chmod 755
${
target
}
This diff is collapsed.
Click to expand it.
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