Skip to content

Commit 34b9ea7

Browse files
committed
Merge pull request #3742 from laanwj/2014_02_win32_protobuf_determinism
gitian: Make protobuf win32 intermediate output deterministic
2 parents 12f5787 + 31b3d94 commit 34b9ea7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/gitian-descriptors/protobuf-win.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ script: |
3838
tar xjf $INDIR/protobuf-2.5.0.tar.bz2
3939
cd protobuf-2.5.0
4040
# First: build a native (linux) protoc
41-
./configure --enable-shared=no --disable-dependency-tracking
41+
./configure --enable-shared=no --disable-dependency-tracking --without-zlib CXXFLAGS="-frandom-seed=11 ${OPTFLAGS}"
4242
make
4343
mkdir -p $INSTALLPREFIX/host/bin
4444
cp src/protoc $INSTALLPREFIX/host/bin
4545
# Now recompile with the mingw cross-compiler:
4646
make distclean
47-
./configure --prefix=$INSTALLPREFIX --enable-shared=no --disable-dependency-tracking --with-protoc=$INSTALLPREFIX/host/bin/protoc --host=$HOST CXXFLAGS="-frandom-seed=11 ${OPTFLAGS}"
47+
./configure --prefix=$INSTALLPREFIX --enable-shared=no --disable-dependency-tracking --without-zlib --with-protoc=$INSTALLPREFIX/host/bin/protoc --host=$HOST CXXFLAGS="-frandom-seed=11 ${OPTFLAGS}"
4848
export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1
4949
export FAKETIME=$REFERENCE_DATETIME
5050
make

0 commit comments

Comments
 (0)