aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHavard Skinnemoen <hskinnemoen@google.com>2020-06-24 23:40:24 -0700
committerGitHub <noreply@github.com>2020-06-24 23:40:24 -0700
commit0c37a43527f0ee2b9584e7fb2fdc805e902635ac (patch)
tree7504884b7213eb5bce14518fbdc44f76a84e9ab2
parenteb9a1c8a4602386193e003d113af919f7d2514ae (diff)
parent888a61bd085d8b031c1b05b22eae51fae1004aba (diff)
downloadvbootrom-0c37a43527f0ee2b9584e7fb2fdc805e902635ac.zip
vbootrom-0c37a43527f0ee2b9584e7fb2fdc805e902635ac.tar.gz
vbootrom-0c37a43527f0ee2b9584e7fb2fdc805e902635ac.tar.bz2
Merge pull request #1 from google/disable-build-id
Fix build with gcc-9 arm-linux-gnueabi toolchain
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b7f705c..3b2b2f3 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ OBJCOPY = $(CROSS_COMPILE)objcopy
CFLAGS = -Os -g -mcpu=cortex-a9
ASFLAGS = $(CFLAGS) -Wa,-mcpu=cortex-a9+mp
LDSCRIPT = bootrom.ld
-LDFLAGS = -nostdlib -T $(LDSCRIPT)
+LDFLAGS = -Wl,--build-id=none -static -nostdlib -T $(LDSCRIPT)
OBJS := start.o image.o