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
78ea9cda
Commit
78ea9cda
authored
Dec 22, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(install-headers, install-headers-tar): Correctly handle directories
when $(libsubdir) is a relative path. From-SVN: r6259
parent
af3c5588
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/Makefile.in
+3
-3
No files found.
gcc/Makefile.in
View file @
78ea9cda
...
...
@@ -1939,15 +1939,15 @@ install-include-dir: install-dir
# Install the include directory using tar.
install-headers-tar
:
stmp-headers $(STMP_FIXPROTO) install-include-dir
cd
include
;
\
(
tar
cf - .
;
exit
0
)
|
(
cd
$(libsubdir)
/include
;
tar
$(TAROUTOPTS)
-
)
(
cd
include
;
\
tar
cf - .
;
exit
0
)
|
(
cd
$(libsubdir)
/include
;
tar
$(TAROUTOPTS)
-
)
# /bin/sh on some systems returns the status of the first tar,
# and that can lose with GNU tar which always writes a full block.
# So use `exit 0' to ignore its exit status.
# Install the include directory using cpio.
install-headers-cpio
:
stmp-headers $(STMP_FIXPROTO) install-include-dir
cd
include
;
find
.
-print
| cpio
-pdum
$(libsubdir)
/include
(
cd
include
;
find
.
-print
)
| cpio
-pdum
$(libsubdir)
/include
# Put assert.h where it won't override GNU libc's assert.h.
# It goes in a dir that is searched after GNU libc's headers;
...
...
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