From 7509c3a91e986405136711db905763f7733c8f5d Mon Sep 17 00:00:00 2001 From: Lucy Cifferello <12953208+elvece@users.noreply.github.com> Date: Mon, 17 May 2021 16:31:49 -0600 Subject: [PATCH] update build guide instructions for ghc 8.10.4 --- BuildGuide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BuildGuide.md b/BuildGuide.md index 7637627f5..ccdb1f742 100644 --- a/BuildGuide.md +++ b/BuildGuide.md @@ -90,9 +90,9 @@ cat /proc/cpuinfo | grep Hardware ``` 1. If your "Hardware" is [BCM2711](https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2711/README.md) then: - 1. Change `C compiler flags` to `-marm -mcpu=cortex-a72` in the GHC settings: + 1. Change `C compiler flags` to `-marm -fno-stack-protector -mcpu=cortex-a7` in the GHC settings: ``` - nano ~/.stack/programs/arm-linux/ghc-8.10.2/lib/ghc-8.10.2/settings + nano ~/.stack/programs/arm-linux/ghc-8.10.4/lib/ghc-8.10.4/settings ``` 1. To prevent gcc errors we delete the `setup-exe-src` folder ```