mirror of
https://github.com/jjsullivan5196/wvkbd.git
synced 2025-03-14 11:22:48 +01:00
Include LDFLAGS from the environment
While working on packageing wvkbd for the aur, I got a warning from namcap (an arch package verification tool) that RELRO wasn't enabled. From what I can tell, this is because make was ignoring the LDFLAGS set by makepkg.
This commit is contained in:
parent
718d2bdff3
commit
35ac0d1d72
2
Makefile
2
Makefile
@ -11,7 +11,7 @@ WVKBD_HEADERS += $(wildcard $(SRC)/*.h)
|
||||
|
||||
CFLAGS += -std=gnu99 -Wall -g -DWITH_WAYLAND_SHM -DLAYOUT=\"layout.${LAYOUT}.h\" -DKEYMAP=\"keymap.${LAYOUT}.h\"
|
||||
CFLAGS += $(shell pkg-config --cflags $(PKGS))
|
||||
LDFLAGS =$(shell pkg-config --libs $(PKGS)) -lm -lutil -lrt
|
||||
LDFLAGS += $(shell pkg-config --libs $(PKGS)) -lm -lutil -lrt
|
||||
|
||||
WAYLAND_HEADERS = $(wildcard proto/*.xml)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user