mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
tools: fix overuse of -XCPP breaking make test etc.
This commit is contained in:
parent
7c33409390
commit
83209b862c
2
Makefile
2
Makefile
@ -142,7 +142,7 @@ PREFERMACUSRLIBFLAGS=-L/usr/lib
|
||||
GHCMEMFLAGS= #+RTS -M200m -RTS
|
||||
CABALMACROSFLAGS=-optP-include -optPhledger/dist/build/autogen/cabal_macros.h
|
||||
BUILDFLAGS1:=-rtsopts $(WARNINGS) $(INCLUDEPATHS) $(PREFERMACUSRLIBFLAGS) $(GHCMEMFLAGS) $(CABALMACROSFLAGS) -DPATCHLEVEL=$(PATCHLEVEL) -DDEVELOPMENT
|
||||
BUILDFLAGS:=$(BUILDFLAGS1) -XCPP -DVERSION='"$(VERSION)dev"'
|
||||
BUILDFLAGS:=$(BUILDFLAGS1) -DVERSION='"$(VERSION)dev"'
|
||||
PROFBUILDFLAGS:=-prof -fprof-auto -osuf hs_p
|
||||
# sp needs different quoting:
|
||||
AUTOBUILDFLAGS:=$(BUILDFLAGS1) -DVERSION='\"$(VERSION)dev\"' # $(PROFBUILDFLAGS)
|
||||
|
@ -1,4 +1,4 @@
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# LANGUAGE CPP, OverloadedStrings #-}
|
||||
{-|
|
||||
|
||||
hledger-web - a hledger add-on providing a web interface.
|
||||
|
Loading…
Reference in New Issue
Block a user