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
6204c24f
Commit
6204c24f
authored
Oct 06, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(install-common-headers): Use $(assertdir).
(assertdir): New variable. From-SVN: r2344
parent
d60280fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
gcc/Makefile.in
+6
-4
No files found.
gcc/Makefile.in
View file @
6204c24f
...
...
@@ -143,6 +143,8 @@ libdir = $(exec_prefix)/lib
libsubdir
=
$(libdir)
/gcc-lib/
$(target)
/
$(version)
# Directory for header file assert.h.
includedir
=
$(prefix)
/include
# assertdir is overridden in cross-make.
assertdir
=
$(includedir)
# Extension (if any) to put in installed man-page filename.
manext
=
.1
# Directory in which to put man pages.
...
...
@@ -1489,12 +1491,12 @@ install-common-headers: install-dir $(USER_H) gvarargs.h gstdarg.h gstddef.h
done
# Put assert.h in /usr/local/include, so it won't override GNU libc's assert.h.
# Don't replace the assert.h already there if it is not from GCC.
if
[
-f
$(
includedir)/assert.h
]
&&
!
grep
"__eprintf"
$(include
dir)/assert.h;
\
if
[
-f
$(
assertdir)/assert.h
]
&&
!
grep
"__eprintf"
$(assert
dir)/assert.h;
\
then
true;
\
else
\
rm
-f
$(
include
dir)/assert.h;
\
$(INSTALL_DATA)
$(srcdir)/assert.h
$(
include
dir)/assert.h;
\
chmod
a-x
$(
include
dir)/include/assert.h;
\
rm
-f
$(
assert
dir)/assert.h;
\
$(INSTALL_DATA)
$(srcdir)/assert.h
$(
assert
dir)/assert.h;
\
chmod
a-x
$(
assert
dir)/include/assert.h;
\
fi
-rm
-f
$(libsubdir)/include/varargs.h
$(INSTALL_DATA)
$(srcdir)/gvarargs.h
$(libsubdir)/include/varargs.h
...
...
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