After updating binutils 2.31.1-10.fc29 to 2.31.1-11 the link order
become important because the new linker optimizes more agressively:
$ g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L. -lminiz miniz_tester.o timer.o -o miniz_tester
/usr/bin/ld: miniz_tester.o: in function `dummy_zip_file_write_callback(void*, unsigned long long, void const*, unsigned long)':
/builddir/build/BUILD/miniz-1.15_r4/miniz_tester.cpp:1316: undefined reference to `mz_crc32'