diff --git a/README.md b/README.md index 2ea9c613..f9d99a9e 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`. diff --git a/kernel/Lyra2.cl b/kernel/lyra2.cl similarity index 100% rename from kernel/Lyra2.cl rename to kernel/lyra2.cl diff --git a/kernel/Lyra2RE.cl b/kernel/lyra2re.cl similarity index 100% rename from kernel/Lyra2RE.cl rename to kernel/lyra2re.cl