[project @ 2004-02-25 11:16:20 by simonmar]
authorsimonmar <unknown>
Wed, 25 Feb 2004 11:16:20 +0000 (11:16 +0000)
committersimonmar <unknown>
Wed, 25 Feb 2004 11:16:20 +0000 (11:16 +0000)
Fix a test

ghc/rts/Makefile

index 63fc69e..39322ba 100644 (file)
@@ -53,7 +53,7 @@ WAY_debug_HC_OPTS=-optc-DDEBUG
 WAY_debug_p_NAME=debug profiled
 WAY_debug_p_HC_OPTS=-optc-DDEBUG -prof
 
-ifneq "$(findstring $(way), debug debug_p)" ""
+ifneq "$(findstring debug, $(way))" ""
 GhcRtsHcOpts=
 GhcRtsCcOpts=-g
 endif