Skip to content

Instantly share code, notes, and snippets.

@bitcartel
Created August 3, 2016 06:16
Show Gist options
  • Save bitcartel/436ae915ce7873e374b55e158f04fa47 to your computer and use it in GitHub Desktop.
Save bitcartel/436ae915ce7873e374b55e158f04fa47 to your computer and use it in GitHub Desktop.
patch for pull request 1064
diff --git a/src/Makefile.am b/src/Makefile.am
index 6119663..7c843cb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -415,7 +415,7 @@ libzcash_a_SOURCES = \
zcash/prf.cpp \
zcash/util.cpp
-libzcash_a_CPPFLAGS = -DMULTICORE -fopenmp -fPIC -DBINARY_OUTPUT -DCURVE_ALT_BN128 -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS $(HARDENED_CPPFLAGS) $(HARDENED_CXXFLAGS) $(HARDENED_LDFLAGS) -pipe -O2 -O0 -g -Wstack-protector -fstack-protector-all -fPIE -fvisibility=hidden -DSTATIC $(BITCOIN_INCLUDES)
+libzcash_a_CPPFLAGS = -DMULTICORE -fopenmp -fPIC -DBINARY_OUTPUT -DCURVE_ALT_BN128 -DBOOST_SPIRIT_THREADSAFE -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS $(HARDENED_CPPFLAGS) $(HARDENED_CXXFLAGS) $(HARDENED_LDFLAGS) -pipe -O1 -g -Wstack-protector -fstack-protector-all -fPIE -fvisibility=hidden -DSTATIC $(BITCOIN_INCLUDES)
# bitcoinconsensus library #
if BUILD_BITCOIN_LIBS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment