[project @ 2001-07-23 23:27:50 by ken]
authorken <unknown>
Mon, 23 Jul 2001 23:27:50 +0000 (23:27 +0000)
committerken <unknown>
Mon, 23 Jul 2001 23:27:50 +0000 (23:27 +0000)
- Added recommended gcc warning flag: -Wcast-align

  - Fixed: "make distclean" would run in the gmp subdirectory multiple
    times, once for each way.  The second time, the Makefile in there
    is gone, causing an error.

ghc/rts/Makefile

index 5c8d651..07707e5 100644 (file)
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.53 2001/07/23 21:31:00 sof Exp $
+# $Id: Makefile,v 1.54 2001/07/23 23:27:50 ken Exp $
 #
 #  This is the Makefile for the runtime-system stuff.
 #  This stuff is written in C (and cannot be written in Haskell).
@@ -51,7 +51,7 @@ WARNING_OPTS += -Winline
 WARNING_OPTS += -Waggregate-return
 #WARNING_OPTS += -Wpointer-arith
 WARNING_OPTS += -Wbad-function-cast
-#WARNING_OPTS += -Wcast-align
+WARNING_OPTS += -Wcast-align
 #WARNING_OPTS += -Wnested-externs
 #WARNING_OPTS += -Wshadow
 #WARNING_OPTS += -Wcast-qual
@@ -175,10 +175,10 @@ endif
 
 install :: gmp/libgmp.a
 
+ifeq "$(way)" ""
 clean distclean maintainer-clean ::
-       $(MAKE) -C gmp MAKEFLAGS= $@
+       -$(MAKE) -C gmp MAKEFLAGS= $@
 
-ifeq "$(way)" ""
 INSTALL_LIBS += gmp/libgmp.a
 endif