History

dlltest: musl needs ssp for stack protector

Failure to link this separate library will result in missing functions during linking.

Sigrid Solveig Haflínudóttir committed 10 months ago

Commit ca23a091 parent d25b70f1 file · +3 −0Browse files

Unified · Split

tests/Makefile+3−0
@@ -58,6 +58,9 @@ endif · 57 unmodified lines
5858 ifeq ($(TARGETOS),OpenBSD)
5959 dlltest: CFLAGS+=-fno-stack-protector
6060 endif
61+ifeq ($(CONFIG_musl),yes)
62+dlltest: LIBS+=-lssp_nonshared
63+endif
6164 ifneq (,$(filter FreeBSD NetBSD,$(TARGETOS)))
6265 # test3 has dlsym problems
6366 TESTS := $(filter-out test3,$(TESTS))

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t