Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
Static link lib gcc and lib stdc++
  • Loading branch information
SmileYzn authored Jan 9, 2024
1 parent 55384fb commit 290fc49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MatchBot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COMPILER = g++
OBJECTS = *.cpp

# Linker Libs
LINKER =
LINKER = -static-libgcc -static-libstdc++

# Compiler version check to static linking
RES_COMPILER_VERSION := $(shell expr "`$(COMPILER) -dumpversion`" ">=" "5")
Expand Down

0 comments on commit 290fc49

Please sign in to comment.