Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
3e850a84
Commit
3e850a84
authored
11 years ago
by
Sandrine Bailleux
Committed by
Dan Handley
11 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Treat compiler, assembler and linker warnings as errors
Change-Id: I56284ebf63bef99de1beb4fd86e2d8b6a7962ac0
parent
eaaeece2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+3
-3
Makefile
with
3 additions
and
3 deletions
+3
-3
Makefile
View file @
3e850a84
...
...
@@ -95,10 +95,10 @@ INCLUDES += -Ilib/include/ -Iinclude/aarch64/ -Iinclude/ \
-Iplat
/fvp
-Idrivers
/power
\
-Iarch
/system/gic
-Icommon
/psci
ASFLAGS
+=
-D__ASSEMBLY__
$
(
INCLUDES
)
CFLAGS
:=
-Wall
-std
=
c99
-c
-Os
-DDEBUG
=
$
(
DEBUG
)
$
(
INCLUDES
)
${CFLAGS}
ASFLAGS
+=
-Wa
,--fatal-warnings
-D__ASSEMBLY__
$
{
INCLUDES
}
CFLAGS
:=
-Wall
-Werror
-std
=
c99
-c
-Os
-DDEBUG
=
$
{
DEBUG
}
$
{
INCLUDES
}
${CFLAGS}
LDFLAGS
+=
-O1
LDFLAGS
+=
--fatal-warnings
-O1
BL1_LDFLAGS
:=
-Map
=
${BL1_MAPFILE}
--script
${BL1_LINKERFILE}
--entry
=
${BL1_ENTRY_POINT}
BL2_LDFLAGS
:=
-Map
=
${BL2_MAPFILE}
--script
${BL2_LINKERFILE}
--entry
=
${BL2_ENTRY_POINT}
BL31_LDFLAGS
:=
-Map
=
${BL31_MAPFILE}
--script
${BL31_LINKERFILE}
--entry
=
${BL31_ENTRY_POINT}
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help