update build guide instructions for ghc 8.10.4

This commit is contained in:
Lucy Cifferello
2021-05-17 16:31:49 -06:00
committed by Keagan McClelland
parent 3126d6138e
commit 7509c3a91e

View File

@@ -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
```