Created by: egrimley
Use "-r", not "-Wl,-r", in core/CMakeLists.txt. Use "-static", not "-Wl,-static", in suite/tests/CMakeLists.txt.
This is needed for building with a recent GCC from Debian (which was configured with "--enable-default-pie").
Maybe Fixes i#2084