diff --git a/ext/sst/Makefile b/ext/sst/Makefile index 682af3d9ff..9213d266e9 100644 --- a/ext/sst/Makefile +++ b/ext/sst/Makefile @@ -4,7 +4,7 @@ ARCH=RISCV OFLAG=3 LDFLAGS=-shared -fno-common ${shell pkg-config ${SST_VERSION} --libs} -L../../build/${ARCH}/ -Wl,-rpath ../../build/${ARCH} -CXXFLAGS=-std=c++17 -g -O${OFLAG} -fPIC ${shell pkg-config ${SST_VERSION} --cflags} ${shell python3-config --includes} -I../../build/${ARCH}/ -I../../ext/pybind11/include/ -I../../build/softfloat/ +CXXFLAGS=-std=c++17 -g -O${OFLAG} -fPIC ${shell pkg-config ${SST_VERSION} --cflags} ${shell python3-config --includes} -I../../build/${ARCH}/ -I../../ext/pybind11/include/ -I../../build/softfloat/ -I../../ext CPPFLAGS+=-MMD -MP SRC=$(wildcard *.cc) diff --git a/util/systemc/gem5_within_systemc/Makefile b/util/systemc/gem5_within_systemc/Makefile index cc6a38917d..f2baf88c20 100644 --- a/util/systemc/gem5_within_systemc/Makefile +++ b/util/systemc/gem5_within_systemc/Makefile @@ -39,7 +39,7 @@ VARIANT = opt SYSTEMC_INC = /opt/systemc/include SYSTEMC_LIB = /opt/systemc/lib-linux64 -CXXFLAGS = -I../../../build/$(ARCH) -L../../../build/$(ARCH) +CXXFLAGS = -I../../../build/$(ARCH) -L../../../build/$(ARCH) -I../../../ext/ CXXFLAGS += -I$(SYSTEMC_INC) -L$(SYSTEMC_LIB) CXXFLAGS += -std=c++17 CXXFLAGS += -g -DTRACING_ON