Skip to content

Commit daf920d

Browse files
committed
Pass -j to correct command
Passing -j to ./configure produces an error
1 parent 12a4b21 commit daf920d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ RUN scl enable devtoolset-1.1 'bash -c "cd /protobuf && \
44
git fetch && \
55
git checkout v3.0.0-beta-2 && \
66
./autogen.sh && \
7-
CXXFLAGS=-m32 ./configure --disable-shared --prefix=/protobuf-32 -j$(nproc) && \
8-
make clean && make && make install"'
7+
CXXFLAGS=-m32 ./configure --disable-shared --prefix=/protobuf-32 && \
8+
make clean && make -j$(nproc) && make -j$(nproc) install"'
99

1010
RUN scl enable devtoolset-1.1 'bash -c "cd /protobuf && \
11-
CXXFLAGS=-m64 ./configure --disable-shared --prefix=/protobuf-64 -j$(nproc) && \
12-
make clean && make && make install"'
11+
CXXFLAGS=-m64 ./configure --disable-shared --prefix=/protobuf-64 && \
12+
make clean && make -j$(nproc) && make -j$(nproc) install"'
1313

1414
ENV CXXFLAGS=-I/protobuf-32/include \
1515
LDFLAGS="-L/protobuf-32/lib -L/protobuf-64/lib"

0 commit comments

Comments
 (0)