Makefile: enable fortify support
parent
9f877aed9f
commit
89f3a1f109
2
Makefile
2
Makefile
|
@ -3,7 +3,7 @@ SRCS = main.c parse.c pkg.c bsdstubs.c getopt_long.c
|
||||||
|
|
||||||
include buildsys.mk
|
include buildsys.mk
|
||||||
|
|
||||||
CFLAGS += -DPKG_DEFAULT_PATH=\"${libdir}/pkgconfig\" -Wall -Wextra -Wformat=2 -std=gnu99
|
CFLAGS += -DPKG_DEFAULT_PATH=\"${libdir}/pkgconfig\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2
|
||||||
|
|
||||||
install-extra:
|
install-extra:
|
||||||
mkdir -p $(DESTDIR)/$(datarootdir)/aclocal
|
mkdir -p $(DESTDIR)/$(datarootdir)/aclocal
|
||||||
|
|
Loading…
Reference in New Issue