osmith submitted this change.
gcc/Makefile: set shell: bash -o pipefail -e
Don't ignore errors from commands piped into others, like in this line
in the Makefile that has been added in aaec8734 ("add fw update
crcstub"):
printf $$CRC_HEX | xxd -r -p | xxd -e | xxd -r | dd of=$(OUTPUT_FILE_NAME)-dfu.bin bs=1 seek=$$CRC_CHECKSUM_OFFSET conv=notrunc 2>/dev/null; \
Change-Id: I9459f63828eab461607fa9f226716d32ae898549
---
M gcc/Makefile
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/Makefile b/gcc/Makefile
index 7813750..b5d3cf0 100644
--- a/gcc/Makefile
+++ b/gcc/Makefile
@@ -1,5 +1,5 @@
# possible values: SAME54_XPLAINED_PRO, SYSMOOCTSIM
-SHELL := /bin/bash
+SHELL := /bin/bash -o pipefail -e
BOARD ?= SYSMOOCTSIM
CROSSCC ?= arm-none-eabi-
SILENT ?= @
To view, visit change 39785. To unsubscribe, or for help writing mail filters, visit settings.