Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
e475ba24
Unverified
Commit
e475ba24
authored
Dec 19, 2018
by
Antonio Niño Díaz
Committed by
GitHub
Dec 19, 2018
Browse files
Merge pull request #1725 from Yann-lms/clang_aarch32
clang: 32 bit compilation should include march32-directive
parents
72b3226f
e2bfec0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
e475ba24
...
...
@@ -162,7 +162,7 @@ AS = $(CC) -c -x assembler-with-cpp $(TF_CFLAGS_$(ARCH))
CPP
=
$(CC)
-E
$
(
TF_CFLAGS_
$(ARCH)
)
PP
=
$(CC)
-E
$
(
TF_CFLAGS_
$(ARCH)
)
else
ifneq
($(findstring clang,$(notdir $(CC))),)
TF_CFLAGS_aarch32
=
$
(
target32-directive
)
TF_CFLAGS_aarch32
=
$
(
target32-directive
)
$
(
march32-directive
)
TF_CFLAGS_aarch64
=
-target
aarch64-elf
LD
=
$(LINKER)
AS
=
$(CC)
-c
-x
assembler-with-cpp
$
(
TF_CFLAGS_
$(ARCH)
)
...
...
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