Skip to content

Commit

Permalink
feat: add support for c++17
Browse files Browse the repository at this point in the history
  • Loading branch information
myyerrol committed Apr 12, 2023
1 parent fe77a6b commit 5f66cb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/spike-diff/Makefile
Expand Up @@ -43,7 +43,7 @@ BINARY = $(BUILD_DIR)/$(NAME)
SRCS = difftest.cc

$(BINARY): $(SPIKE) $(SRCS)
g++ -O2 -shared -fPIC -fvisibility=hidden $(INC_PATH) $(SRCS) $(INC_LIBS) -o $@
g++ -std=c++17 -O2 -shared -fPIC -fvisibility=hidden $(INC_PATH) $(SRCS) $(INC_LIBS) -o $@

clean:
rm -rf $(BUILD_DIR)
Expand Down

0 comments on commit 5f66cb8

Please sign in to comment.