diff options
author | Yu-Ping Wu <yupingso@chromium.org> | 2023-04-14 10:22:35 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-04-19 02:35:29 +0000 |
commit | a6e3fdfd2424c1f99b4ed3786895c2255a5be023 (patch) | |
tree | 3fc34f97080973fda14956503fd39f9493ba6c9c | |
parent | 090aa4131649f4a1b32e65874691fd48e3207d5f (diff) | |
download | vboot-a6e3fdfd2424c1f99b4ed3786895c2255a5be023.tar.gz |
Makefile: Respect standard CPPFLAGSstabilize-15429.B
The Makefile should respect the standard compilation setting
CPPFLAGS. For example, the cros-debug-add-NDEBUG function call in the
ebuild needs that to work.
BUG=none
TEST=USE=cros-debug emerge-corsola vboot_reference
TEST=USE=-cros-debug emerge-corsola vboot_reference
BRANCH=none
Change-Id: I9b3a404983b5db81fe401ef243de357c55f478b3
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/4426377
Commit-Queue: Julius Werner <jwerner@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -131,7 +131,7 @@ COMMON_FLAGS := -pipe ${WERROR} -Wall -Wstrict-prototypes -Wtype-limits \ -Wundef -Wmissing-prototypes -Wno-trigraphs -Wredundant-decls -Wshadow \ -Wwrite-strings -Wstrict-aliasing -Wdate-time \ -ffunction-sections -fdata-sections \ - -Wformat -Wno-format-security ${DEBUG_FLAGS} + -Wformat -Wno-format-security ${DEBUG_FLAGS} ${CPPFLAGS} # FIRMWARE_ARCH is defined if compiling for a firmware target # (coreboot or depthcharge). |