X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2Fghc.mk;h=69b03d176ece6876f782971bd4ca3d34361aff53;hb=b0758d03f1a00ab0adf57f8157602ef22e8cdd13;hp=4bb41182844a904db07e8cced3ec699e88f0b972;hpb=a2a67cd520b9841114d69a87a423dabcb3b4368e;p=ghc-hetmet.git diff --git a/rts/ghc.mk b/rts/ghc.mk index 4bb4118..69b03d1 100644 --- a/rts/ghc.mk +++ b/rts/ghc.mk @@ -251,6 +251,9 @@ sm/Storage_CC_OPTS += -Wno-strict-prototypes # inlining warnings happen in Compact sm/Compact_CC_OPTS += -Wno-inline +# emits warnings about call-clobbered registers on x86_64 +StgCRun_CC_OPTS += -w + RetainerProfile_CC_OPTS += -w RetainerSet_CC_OPTS += -Wno-format # On Windows: @@ -369,9 +372,9 @@ install : install_rts .PHONY: install_rts install_rts: - $(INSTALL_DIR) $(DESTDIR)$(libdir) - $(INSTALL_DIR) $(DESTDIR)$(libdir)/include - "$(CP)" $(ALL_RTS_LIBS) $(DESTDIR)$(libdir) + $(INSTALL_DIR) $(DESTDIR)$(ghclibdir) + $(INSTALL_DIR) $(DESTDIR)$(ghclibdir)/include + "$(CP)" $(ALL_RTS_LIBS) $(DESTDIR)$(ghclibdir) # ----------------------------------------------------------------------------- # cleaning