From 91d548206eb143641828879650e1f80ca478bfca Mon Sep 17 00:00:00 2001 From: orignal Date: Sat, 17 Sep 2022 18:47:32 -0400 Subject: [PATCH] -fcommon for gcc 10 and higher --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index c419af14..86bde00a 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,8 @@ To compile a debug version, replace `-O2` with `-ggdb`. Depending on your environment, replace `-std=gnu99` with `-std=c99`. +For gcc 10 and higher add -fcommon options to CFLAGS. + Systemwide installation is optional. You may run `sgminer` from the build directory directly, or `make install` if you wish to install `sgminer` to a system location or a location you specified with `--prefix`.