summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-04-17 18:37:40 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-04-17 18:37:40 -0400
commitaa353d1400512174ff3c5ccce89d1ebdd1a5be12 (patch)
tree13165011ad52a828ebf6d55c27e4030d29c90508
parent4d221a7a80d9b02b523536b146fe94ce6448cfa5 (diff)
use LANGUAGE CPP pragma, avoids running cpp on all the other sources
-rw-r--r--Makefile2
-rw-r--r--Remote/List.hs2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 87aa8c076..94dc05a81 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
PREFIX=/usr
IGNORE=-ignore-package monads-fd
-BASEFLAGS=-Wall $(IGNORE) -outputdir tmp -IUtility -cpp -DWITH_S3
+BASEFLAGS=-Wall $(IGNORE) -outputdir tmp -IUtility -DWITH_S3
GHCFLAGS=-O2 $(BASEFLAGS)
ifdef PROFILE
diff --git a/Remote/List.hs b/Remote/List.hs
index c09341fb5..14a1771b4 100644
--- a/Remote/List.hs
+++ b/Remote/List.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE CPP #-}
+
{- git-annex remote list
-
- Copyright 2011 Joey Hess <joey@kitenet.net>