From e729bd0755cf6a67704c1d3f5cfcaa6c9d0cbeaf Mon Sep 17 00:00:00 2001 From: netswift Date: Sat, 28 Mar 2015 14:17:06 +0200 Subject: [PATCH] Updated the compilation instructions. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ea9c6138..f9d99a9e3 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ Then: git submodule init git submodule update autoreconf -i - CFLAGS="-O2 -Wall -march=native" ./configure + CFLAGS="-O2 -Wall -march=native -std=gnu99" ./configure make To compile a version that can be used accross machines, remove @@ -91,6 +91,8 @@ To compile a version that can be used accross machines, remove To compile a debug version, replace `-O2` with `-ggdb`. +Depending on your environment, replace `-std=gnu99` with `-std=c99`. + 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`.