Skip to content

Commit e729bd0

Browse files
committed
Updated the compilation instructions.
1 parent 632ea79 commit e729bd0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,16 @@ Then:
8383
git submodule init
8484
git submodule update
8585
autoreconf -i
86-
CFLAGS="-O2 -Wall -march=native" ./configure <options>
86+
CFLAGS="-O2 -Wall -march=native -std=gnu99" ./configure <options>
8787
make
8888

8989
To compile a version that can be used accross machines, remove
9090
`-march=native`.
9191

9292
To compile a debug version, replace `-O2` with `-ggdb`.
9393

94+
Depending on your environment, replace `-std=gnu99` with `-std=c99`.
95+
9496
Systemwide installation is optional. You may run `sgminer` from the build
9597
directory directly, or `make install` if you wish to install
9698
`sgminer` to a system location or a location you specified with `--prefix`.

0 commit comments

Comments
 (0)