Commit 703aa3cb authored by Marek Vavrusa's avatar Marek Vavrusa

Enable LTO and predictive commonning gcc flags if supported.

Improves real-world performance by about 5-10%
parent f254d366
......@@ -122,6 +122,10 @@ AC_ARG_ENABLE([recvmmsg],
# Check for link time optimizations support and predictive commoning
AX_CHECK_COMPILER_FLAGS("-fpredictive-commoning", [CFLAGS="$CFLAGS -fpredictive-commoning"], [])
# Checks for libraries.
# FIXME: Replace `main' with a function in `-lm':
# TODO: check if paths exist before appending
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment