Skip to content

Commit

Permalink
Fix for Fulcrum.pro CFLAGS for secpr256k1
Browse files Browse the repository at this point in the history
Use -Wno-unused-function -Wno-nonnull-compare if gcc and not clang.
(Was: if gcc, which matched clang too!).
  • Loading branch information
cculianu committed Jun 7, 2024
1 parent c1d511b commit fceb9b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fulcrum.pro
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ contains(QT_ARCH, x86_64):!win32-msvc {
bitcoin/secp256k1/secp256k1_schnorr.h \
bitcoin/secp256k1/util.h

gcc {
gcc:!clang {
# Suppress some warnings on gcc for libsecp256k1
QMAKE_CFLAGS += -Wno-unused-function -Wno-nonnull-compare
}
Expand Down

0 comments on commit fceb9b4

Please sign in to comment.