X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2Fcompiler%2FMakefile;h=51047146392a20137aea61fa2d2cfd315f361a6a;hb=e375e4a482ec9bb197c013bb015bff810e06ec4b;hp=5d800ca1cfe194f6f64ed390421cc0282abe7f6a;hpb=acaaf62143d015fe66ec9b100bd7f0ea1df523cb;p=ghc-hetmet.git diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 5d800ca..5104714 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.216 2002/04/22 14:54:09 simonmar Exp $ +# $Id: Makefile,v 1.217 2002/05/11 10:02:21 panne Exp $ TOP = .. @@ -269,6 +269,10 @@ ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32" main/SysTools_HC_OPTS += '-\#include ' '-\#include ' endif +# ghc_strlen percolates through so many modules that it is easier to get its +# prototype via a global option instead of a myriad of per-file OPTIONS +SRC_HC_OPTS += '-\#include "hschooks.h"' + # ---------------------------------------------------------------------------- # Generate supporting stuff for prelude/PrimOp.lhs # from prelude/primops.txt