[project @ 2004-02-25 11:16:20 by simonmar]
[ghc-hetmet.git] / 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