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
nexedi
linux
Commits
812b724d
Commit
812b724d
authored
May 07, 2004
by
Joshua Kwan
Committed by
Linus Torvalds
May 07, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Use $(CC) in NEW_GCC checks.
parent
c0251be5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
arch/sparc64/Makefile
arch/sparc64/Makefile
+1
-1
No files found.
arch/sparc64/Makefile
View file @
812b724d
...
...
@@ -10,7 +10,7 @@
AFLAGS_vmlinux.lds.o
+=
-Usparc
CC
:=
$(
shell
if
gcc
-m64
-S
-o
/dev/null
-xc
/dev/null
>
/dev/null 2>&1
;
then
echo
gcc
;
else
echo
sparc64-linux-gcc
;
fi
)
CC
:=
$(
shell
if
$(CC)
-m64
-S
-o
/dev/null
-xc
/dev/null
>
/dev/null 2>&1
;
then
echo
$(CC)
;
else
echo
sparc64-linux-gcc
;
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
)
...
...
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