X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FMakefile;h=c3c2b82fc428c6fda6d7acc9411a9a245c755b9a;hb=5f8b35ad729740cab1cb8c884deb405dcc758683;hp=08240a12123c7eb5c0c7d666a1824d64f9a020d8;hpb=14591e0d3d238a40d034fb9ddd0ae90688e007eb;p=ghc-hetmet.git diff --git a/rts/Makefile b/rts/Makefile index 08240a1..c3c2b82 100644 --- a/rts/Makefile +++ b/rts/Makefile @@ -144,6 +144,10 @@ ifeq "$(HaveLibMingwEx)" "YES" PACKAGE_CPP_OPTS += -DHAVE_LIBMINGWEX endif +ifeq "$(GhciWithDebugger)" "YES" +STANDARD_OPTS += -DDEBUGGER +endif + ifeq "$(DotnetSupport)" "YES" # @@ -181,8 +185,8 @@ endif #----------------------------------------------------------------------------- # Add PAPI library if needed -ifeq "$(USE_PAPI)" "YES" -SRC_HC_OPTS += -lpapi -optc-DUSE_PAPI +ifeq "$(GhcRtsWithPapi)" "YES" +SRC_HC_OPTS += -optc-DUSE_PAPI PACKAGE_CPP_OPTS += -DUSE_PAPI endif