Skip to content

Commit

Permalink
statically link glibc
Browse files Browse the repository at this point in the history
  • Loading branch information
OrellBuehler committed Jul 31, 2024
1 parent aa3c018 commit 306493a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ NVSHARE_TAG := $(shell echo $(NVSHARE_COMMIT) | cut -c 1-8)
CC = gcc
GENERAL_LDFLAGS = -Wl,-z,defs -Wl,-z,relro -Wl,-z,now -Wl,--no-undefined
LIBNVSHARE_LDFLAGS = -shared -Wl,-soname=libnvshare.so -Wl,--version-script=libnvshare-symbols.ld -Wl,--exclude-libs,ALL
LIBNVSHARE_LDLIBS = -ldl -lpthread
LIBNVSHARE_LDLIBS = -ldl -lpthread -static-libgcc -static-libstdc++
SCHEDULER_LDLIBS = -lpthread
CFLAGS = -O3 -Wall -Wextra -std=gnu99 -fPIC -D_FORTIFY_SOURCE=2

Expand Down

0 comments on commit 306493a

Please sign in to comment.