Revert "Remove questionable gcc flags from profile-build"
authorJoona Kiiski <joona@zoox.com>
Thu, 13 Jul 2017 23:36:27 +0000 (16:36 -0700)
committerJoona Kiiski <joona@zoox.com>
Thu, 13 Jul 2017 23:36:27 +0000 (16:36 -0700)
This reverts commit 0371a8f8c4a043cb3e7d08b5b8e7d08d49f28324.

src/Makefile

index 977955cd5ea868accd5c95b432f0515016d730a2..6eb96461d2f05265288be3cebfb453b2025c9eac 100644 (file)
@@ -536,7 +536,7 @@ gcc-profile-make:
 
 gcc-profile-use:
        $(MAKE) ARCH=$(ARCH) COMP=$(COMP) \
-       EXTRACXXFLAGS='-fprofile-use' \
+       EXTRACXXFLAGS='-fprofile-use -fno-peel-loops -fno-tracer' \
        EXTRALDFLAGS='-lgcov' \
        all