Revert "MinGW provides random() in -liberty, no need to replace it"
This reverts commit3ec807e99a
. Our nightly build test cases rely on the PRN sequence generated by GNU libc's random(). We used to have such a PRNG in our tree (derived from an old version of GNU libc's), for use under Windows. Thus we got the same PRN sequence on both our nightly test systems. Commit3ec807e9
switched to -liberty under Windows and removed our random(). Now we got a different sequence there, breaking the test cases. Test cases still don't work on non-Windows systems where random() doesn't match GNU libc's. We should switch to a PRNG that produces the same sequence everywhere. Conflicts: src/lib/w32/w32misc.h
This commit is contained in:
parent
c9508fa588
commit
c8231b120b
5 changed files with 790 additions and 6 deletions
2
Make.mk
2
Make.mk
|
@ -133,8 +133,6 @@ endif
|
|||
|
||||
ifeq ($(empthread),Windows) # really: W32, regardless of thread package
|
||||
libs += lib/libw32.a
|
||||
LDLIBS += -liberty
|
||||
LIBS_server += -liberty
|
||||
endif
|
||||
|
||||
# Cleanliness
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue