diff options
Diffstat (limited to 'src/makefile.mingw')
| -rw-r--r-- | src/makefile.mingw | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/makefile.mingw b/src/makefile.mingw index 7d35d92..01f7702 100644 --- a/src/makefile.mingw +++ b/src/makefile.mingw | |||
| @@ -7,7 +7,14 @@ DEPS = ../deps | |||
| 7 | RANDOMX = ../RandomX | 7 | RANDOMX = ../RandomX |
| 8 | IMGUI_DIR = imgui | 8 | IMGUI_DIR = imgui |
| 9 | 9 | ||
| 10 | CXXFLAGS = -std=gnu++14 -O2 -w -fpermissive -Wno-deprecated-declarations -pthread \ | 10 | # See the long note in Makefile: -w hid the format bug that segfaulted the node |
| 11 | # on glibc (issue #5), and -w cannot be narrowed, so format diagnostics are now | ||
| 12 | # fatal and only the categories this tree actually produces are silenced. | ||
| 13 | WARNFLAGS = -Wformat -Werror=format \ | ||
| 14 | -Wno-deprecated-declarations -Wno-write-strings \ | ||
| 15 | -Wno-narrowing -Wno-unused-result | ||
| 16 | |||
| 17 | CXXFLAGS = -std=gnu++14 -O2 $(WARNFLAGS) -fpermissive -pthread \ | ||
| 11 | -DWIN32 -DNOPCH \ | 18 | -DWIN32 -DNOPCH \ |
| 12 | -DSECP256K1_STATIC \ | 19 | -DSECP256K1_STATIC \ |
| 13 | -I$(DEPS)/include -I$(RANDOMX)/src \ | 20 | -I$(DEPS)/include -I$(RANDOMX)/src \ |