Skip to content

Commit

Permalink
atf-2023: remove Werror
Browse files Browse the repository at this point in the history
  • Loading branch information
hanwckf committed Dec 3, 2023
1 parent c7d9aa4 commit 16fd483
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions atf-20231013-0ea67d76a/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,9 @@ WARNINGS += -Wshift-overflow -Wshift-sign-overflow \
-Wlogical-op-parentheses
endif #(Clang Warning)

ifneq (${E},0)
ERRORS := -Werror
endif #(E)
#ifneq (${E},0)
# ERRORS := -Werror
#endif #(E)

################################################################################
# Compiler and Linker Directives
Expand Down Expand Up @@ -359,7 +359,7 @@ ifneq ($(findstring armlink,$(notdir $(LD))),)
# LD = gcc (used when GCC LTO is enabled)
else ifneq ($(findstring gcc,$(notdir $(LD))),)
# Pass ld options with Wl or Xlinker switches
TF_LDFLAGS += -Wl,--fatal-warnings -O1
TF_LDFLAGS += -O1
TF_LDFLAGS += -Wl,--gc-sections

TF_LDFLAGS += -Wl,-z,common-page-size=4096 #Configure page size constants
Expand Down

0 comments on commit 16fd483

Please sign in to comment.