Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
bb527534
Commit
bb527534
authored
Dec 01, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Add -finline-limit=100000 to CFLAGS if gcc supports it.
parent
24d9b8f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
arch/sparc64/Makefile
arch/sparc64/Makefile
+5
-0
No files found.
arch/sparc64/Makefile
View file @
bb527534
...
@@ -19,6 +19,7 @@ CC := $(shell if gcc -m64 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then e
...
@@ -19,6 +19,7 @@ CC := $(shell if gcc -m64 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then e
NEW_GCC
:=
$(
shell
if
$(CC)
-m64
-mcmodel
=
medlow
-S
-o
/dev/null
-xc
/dev/null
>
/dev/null 2>&1
;
then
echo
y
;
else
echo
n
;
fi
;
)
NEW_GCC
:=
$(
shell
if
$(CC)
-m64
-mcmodel
=
medlow
-S
-o
/dev/null
-xc
/dev/null
>
/dev/null 2>&1
;
then
echo
y
;
else
echo
n
;
fi
;
)
NEW_GAS
:=
$(
shell
if
$(LD)
-V
2>&1 |
grep
'elf64_sparc'
>
/dev/null
;
then
echo
y
;
else
echo
n
;
fi
)
NEW_GAS
:=
$(
shell
if
$(LD)
-V
2>&1 |
grep
'elf64_sparc'
>
/dev/null
;
then
echo
y
;
else
echo
n
;
fi
)
UNDECLARED_REGS
:=
$(
shell
if
$(CC)
-c
-x
assembler /dev/null
-Wa
,--help |
grep
undeclared-regs
>
/dev/null
;
then
echo
y
;
else
echo
n
;
fi
;
)
UNDECLARED_REGS
:=
$(
shell
if
$(CC)
-c
-x
assembler /dev/null
-Wa
,--help |
grep
undeclared-regs
>
/dev/null
;
then
echo
y
;
else
echo
n
;
fi
;
)
INLINE_LIMIT
:=
$(
shell
if
$(CC)
-m64
-finline-limit
=
100000
-S
-o
/dev/null
-xc
/dev/null
>
/dev/null 2>&1
;
then
echo
y
;
else
echo
n
;
fi
;
)
export
NEW_GCC
export
NEW_GCC
...
@@ -51,6 +52,10 @@ else
...
@@ -51,6 +52,10 @@ else
AFLAGS
+=
-m64
-mcpu
=
ultrasparc
$(CC_UNDECL)
AFLAGS
+=
-m64
-mcpu
=
ultrasparc
$(CC_UNDECL)
endif
endif
ifeq
($(INLINE_LIMIT),y)
CFLAGS
:=
$(CFLAGS)
-finline-limit
=
100000
endif
ifeq
($(CONFIG_MCOUNT),y)
ifeq
($(CONFIG_MCOUNT),y)
CFLAGS
:=
$(
subst
-fomit-frame-pointer
,,
$(CFLAGS)
)
CFLAGS
:=
$(
subst
-fomit-frame-pointer
,,
$(CFLAGS)
)
CFLAGS
:=
$(CFLAGS)
-pg
CFLAGS
:=
$(CFLAGS)
-pg
...
...
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