summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAaron Tomb <atomb@galois.com>2013-11-06 16:38:49 -0800
committerAaron Tomb <atomb@galois.com>2013-11-06 16:38:49 -0800
commit6ce69bf4ede911a2f94290543a7fab657a5cb7a3 (patch)
treea06d8f3f67d8b5988eb11288e75be68053fa7301 /Makefile
parente8301980fe765e248d620cce76a5575c7ce53375 (diff)
downloadabc-6ce69bf4ede911a2f94290543a7fab657a5cb7a3.tar.gz
abc-6ce69bf4ede911a2f94290543a7fab657a5cb7a3.tar.bz2
abc-6ce69bf4ede911a2f94290543a7fab657a5cb7a3.zip
Remove unncessary use of PWD in CPP include option.
The use of an absolute path can sometimes leads to compile errors using Jenkins on Windows. The form without PWD seems to build correctly on several varieties of each of Linux, OS X, and Windows.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3b1890d1..4f751b24 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ arch_flags : arch_flags.c
ARCHFLAGS ?= $(shell $(CC) arch_flags.c -o arch_flags && ./arch_flags)
OPTFLAGS ?= -g -O #-DABC_NAMESPACE=xxx
-CFLAGS += -Wall -Wno-unused-function -Wno-write-strings -Wno-sign-compare $(OPTFLAGS) $(ARCHFLAGS) -I$(PWD)/src
+CFLAGS += -Wall -Wno-unused-function -Wno-write-strings -Wno-sign-compare $(OPTFLAGS) $(ARCHFLAGS) -Isrc
# Set -Wno-unused-bug-set-variable for GCC 4.6.0 and greater only
ifneq ($(or $(findstring gcc,$(CC)),$(findstring g++,$(CC))),)