Skip to content

Commit 528d8a3

Browse files
alexalex
authored andcommitted
Remove OpenMP flags for now
1 parent f6123ec commit 528d8a3

File tree

7 files changed

+6
-9
lines changed

7 files changed

+6
-9
lines changed

novacoin-qt.pro

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ contains(RELEASE, 1) {
3131
}
3232
}
3333

34-
QMAKE_LFLAGS *= -fopenmp
35-
3634
!win32 {
3735
# for extra security against potential buffer overflows: enable GCCs Stack Smashing Protection
3836
QMAKE_CXXFLAGS *= -fstack-protector-all --param ssp-buffer-size=1
@@ -147,7 +145,6 @@ contains(USE_O3, 1) {
147145
QMAKE_CFLAGS += -msse2
148146
}
149147

150-
QMAKE_CXXFLAGS +=-fopenmp
151148
QMAKE_CXXFLAGS_WARN_ON = -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector
152149

153150
# Input

src/makefile.bsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ DEBUGFLAGS=-g
9595

9696
# CXXFLAGS can be specified on the make command line, so we use xCXXFLAGS that only
9797
# adds some defaults in front. Unfortunately, CXXFLAGS=... $(CXXFLAGS) does not work.
98-
xCXXFLAGS=-O0 -msse2 -pthread -fopenmp -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter \
98+
xCXXFLAGS=-O0 -msse2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter \
9999
$(DEBUGFLAGS) $(DEFS) $(HARDENING) $(CXXFLAGS)
100100

101101
# LDFLAGS can be specified on the make command line, so we use xLDFLAGS that only

src/makefile.linux-mingw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ LIBS= \
4040

4141
DEFS=-D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE
4242
DEBUGFLAGS=-g
43-
CFLAGS=-O3 -msse2 -fopenmp -w -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
43+
CFLAGS=-O3 -msse2 -w -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
4444
LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat -static-libgcc -static-libstdc++
4545

4646
TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data)

src/makefile.mingw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ LIBS= \
2828

2929
DEFS=-DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE
3030
DEBUGFLAGS=-g
31-
CFLAGS=-mthreads -fopenmp -O3 -msse2 -w -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
31+
CFLAGS=-mthreads -O3 -msse2 -w -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
3232
LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat
3333

3434
TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data)

src/makefile.osx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ CFLAGS = -g -msse2
6767
endif
6868

6969
# ppc doesn't work because we don't support big-endian
70-
CFLAGS += -fopenmp -Wall -Wextra -Wformat -Wno-ignored-qualifiers -Wformat-security -Wno-unused-parameter \
70+
CFLAGS += -Wall -Wextra -Wformat -Wno-ignored-qualifiers -Wformat-security -Wno-unused-parameter \
7171
$(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
7272

7373
OBJS= \

src/makefile.unix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ endif
101101

102102
# CXXFLAGS can be specified on the make command line, so we use xCXXFLAGS that only
103103
# adds some defaults in front. Unfortunately, CXXFLAGS=... $(CXXFLAGS) does not work.
104-
xCXXFLAGS=-O2 $(EXT_OPTIONS) -fopenmp -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter \
104+
xCXXFLAGS=-O2 $(EXT_OPTIONS) -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter \
105105
$(DEBUGFLAGS) $(DEFS) $(HARDENING) $(CXXFLAGS)
106106

107107
# LDFLAGS can be specified on the make command line, so we use xLDFLAGS that only

src/zerocoin/Zerocoin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#define ZEROCOIN_SERIALNUMBER_PROOF "SERIALNUMBER_PROOF"
3232

3333
// Activate multithreaded mode for proof verification
34-
#define ZEROCOIN_THREADING 1
34+
#define ZEROCOIN_THREADING 0
3535

3636
// Uses a fast technique for coin generation. Could be more vulnerable
3737
// to timing attacks. Turn off if an attacker can measure coin minting time.

0 commit comments

Comments
 (0)