Skip to content

Commit

Permalink
[mod] removed -l,rpath is a gccism
Browse files Browse the repository at this point in the history
  • Loading branch information
stef committed Jul 12, 2024
1 parent 9787590 commit 8162e07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ AR?=ar
UNAME := $(shell uname -s)
ifeq ($(UNAME),Darwin)
SOEXT=dylib
SOFLAGS=-Wl,-install_name,liboprf.$(SOEXT) -Wl,-rpath=$(DESTDIR)$(PREFIX)/lib
SOFLAGS=-Wl,-install_name,liboprf.$(SOEXT)
else
CFLAGS+=-Wl,-z,defs -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,now \
-fsanitize=signed-integer-overflow -fsanitize-undefined-trap-on-error \
-fcf-protection=full
# -mbranch-protection=standard -fstrict-flex-arrays=3
SOEXT=so
SOFLAGS=-Wl,-soname,libopaque.$(SOEXT).$(SOVER) -Wl,-rpath=$(DESTDIR)$(PREFIX)/lib
SOFLAGS=-Wl,-soname,libopaque.$(SOEXT).$(SOVER)
endif

SODIUM_NEWER_THAN_1_0_18 := $(shell pkgconf --atleast-version=1.0.19 libsodium; echo $$?)
Expand Down

0 comments on commit 8162e07

Please sign in to comment.