citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 6194d8e3c889ef06c94205ed593c033bc0c4c8c6
parent c92740bc4d01b80c9c7d9f6a370f33311f029367
Author: Kyle Milz <kyle@0x30.net>
Date:   Wed, 20 Jul 2016 18:17:18 -0600

don't set C++FLAGS globally

Diffstat:
MJamrules | 4++--
Msrc/Jamfile | 1+
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Jamrules b/Jamrules @@ -16,8 +16,8 @@ OPTIM = $(CFLAGS) ; if $(OS) = OPENBSD { C++ = eg++ ; - C++FLAGS += -DCLANG_INCL="-I/usr/local/lib/clang/3.8.0/include" ; - C++FLAGS += -DLLVM_VER=38 ; + CLANG_INCL = "-I/usr/local/lib/clang/3.8.0/include" ; + LLVM_VER = 38 ; PKG_CONFIG_LIBS = gl glew freetype2 ; LINKLIBS on citrun-gl = -lestdc++ -lm -lglut ; diff --git a/src/Jamfile b/src/Jamfile @@ -59,6 +59,7 @@ Stringize runtime_h.h : $(TOP)/lib/runtime.h ; ObjectC++Flags $(INST_SRCS) : `llvm-config --cxxflags` ; ObjectC++Flags $(INST_SRCS) : -DCITRUN_LIB=$(CITRUN_LIB) -DCITRUN_PATH=$(CITRUN_PATH) ; +ObjectC++Flags $(INST_SRCS) : -DCLANG_INCL=$(CLANG_INCL) -DLLVM_VER=$(LLVM_VER) ; LINKFLAGS on citrun-inst = `llvm-config --ldflags` ;