Skip to content

Commit

Permalink
Makefile | Added static linking of libgcc and libstdc++
Browse files Browse the repository at this point in the history
  • Loading branch information
m-doescode committed May 3, 2022
1 parent 2daa951 commit 4c9119b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CXX = clang++
LIBS =
INCLUDES = include
MACROS = UNICODE
CXXFLAGS = -std=c++2b -Wall -Wextra -fexceptions -fuse-ld=lld $(addprefix -l,$(LIBS)) $(addprefix -I,$(INCLUDES)) $(addprefix -D,$(MACROS))
CXXFLAGS = -static-libgcc -static-libstdc++ -std=c++2b -Wall -Wextra -fexceptions -fuse-ld=lld $(addprefix -l,$(LIBS)) $(addprefix -I,$(INCLUDES)) $(addprefix -D,$(MACROS))
LDFLAGS = -lm

SRCDIR = src
Expand Down

0 comments on commit 4c9119b

Please sign in to comment.