diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2019-01-23 14:38:21 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-02-08 09:18:46 +0530 |
commit | 76c759df6ab96cc1418325ecf99a0d62a0f37459 (patch) | |
tree | 66af25f8985cea06b458402ba4eff31f90db11f3 /Makefile | |
parent | 4f32b13802c118c381a562747467b829f7a14e78 (diff) |
Makefile: Ensure lgcc is included
This fixes errors like this:
undefined reference to `__umoddi3'
when buildilng for 32-bit systems
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -140,7 +140,7 @@ ASFLAGS += $(firmware-asflags-y) ARFLAGS = rcs -LDFLAGS += -g -Wall -nostdlib -Wl,--build-id=none -N +LDFLAGS += -g -Wall -nostdlib -Wl,--build-id=none -N -static-libgcc -lgcc LDFLAGS += $(platform-ldflags-y) LDFLAGS += $(firmware-ldflags-y) |