add -funroll-loops when compiling the parallel version of Evac.c too
[ghc-hetmet.git] / rts / Makefile
index 585958f..bda4bc7 100644 (file)
@@ -310,6 +310,7 @@ endif
 
 else # GhcRtsWithPapi==YES
 
+PACKAGE_CPP_OPTS += -DPAPI_INCLUDE_DIR=""
 PACKAGE_CPP_OPTS += -DPAPI_LIB_DIR=""
 
 endif
@@ -427,6 +428,8 @@ sm/Scav_thr.c : sm/Scav.c
 
 sm/Evac_thr_HC_OPTS += -optc-DPARALLEL_GC
 sm/Scav_thr_HC_OPTS += -optc-DPARALLEL_GC
+
+sm/Evac_thr_HC_OPTS += -optc-funroll-loops
 else
 EXCLUDED_SRCS += sm/Evac_thr.c sm/Scav_thr.c
 endif