diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index 1d0fef92eca0313bf5a197d6dd2c7fb5094d011c..5f6fa1809ed598d97203c8936dfb186105291f4b 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -92,8 +92,8 @@ config.way_flags = {
     'llvm'         : ['-fllvm'],
     'optllvm'      : ['-O', '-fllvm'],
     'debugllvm'    : ['-fllvm', '-keep-llvm-files'],
-    'prof'         : ['-prof', '-static', '-fprof-auto', '-fasm'],
-    'prof_no_auto' : ['-prof', '-static', '-fasm'],
+    'prof'         : ['-prof', '-static', '-fprof-auto'],
+    'prof_no_auto' : ['-prof', '-static'],
     'profasm'      : ['-O', '-prof', '-static', '-fprof-auto'],
     'profthreaded' : ['-O', '-prof', '-static', '-fprof-auto', '-threaded'],
     'ghci'         : ['--interactive', '-v0', '-ignore-dot-ghci', '-fno-ghci-history', '+RTS', '-I0.1', '-RTS'] + (['-fghci-leak-check'] if not config.compiler_debugged else []),