Open plebhash opened 5 months ago
These were the original build instructions when I forked the repo:
$ ./autogen.sh $ CFLAGS="-O2 -Wall -march=native -fcommon" ./configure <options> $ make
I was getting the following compilation error:
api.c: In function ‘message’: api.c:1509:49: error: format not a string literal and no format arguments [-Werror=format-security] 1509 | ); |
As a workaround, I modified the build instructions to add the -Wno-format-security flag to the configure command via https://github.com/plebhash/cgminer-sv2/commit/8e9d0ba38c390230a010af50cdec469a2e16cd0d
-Wno-format-security
configure
I'm not sure about the security implications of this, and therefore a more sustainable solution should be researched for the long term.
These were the original build instructions when I forked the repo:
I was getting the following compilation error:
As a workaround, I modified the build instructions to add the
-Wno-format-security
flag to theconfigure
command via https://github.com/plebhash/cgminer-sv2/commit/8e9d0ba38c390230a010af50cdec469a2e16cd0dI'm not sure about the security implications of this, and therefore a more sustainable solution should be researched for the long term.