Skip to content

Commit

Permalink
Use static linking in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentbab committed Feb 25, 2024
1 parent f33c70f commit a9b7f0e
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 @@ -10,7 +10,7 @@ PROFILE_CPPFLAGS := $(CPPFLAGS) -O3 -funroll-loops -finline -fomit-frame-pointer

LDFLAGS := -Wall -std=c++20 -fno-rtti -mbmi -mbmi2 -mpopcnt -msse2 -msse3 -msse4.1 -mavx2
DEBUG_LDFLAGS := $(LDFLAGS)
RELEASE_LDFLAGS := $(LDFLAGS) -flto
RELEASE_LDFLAGS := $(LDFLAGS) -flto -s -static
PROFILE_LDFLAGS := $(LDFLAGS) -flto -g

.PHONY: all debug release profile
Expand Down

0 comments on commit a9b7f0e

Please sign in to comment.