mirror of
git://git.proxmox.com/git/proxmox-mini-journalreader.git
synced 2025-01-03 01:17:48 +03:00
buildsys: compile as C11
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
e9ad71ac61
commit
24a23d0f6e
@ -5,7 +5,7 @@ BIN_DIR ?= $(DESTDIR)/usr/bin
|
||||
MAN1_DIR ?= $(DESTDIR)/usr/share/man/man1
|
||||
|
||||
LIBS := libsystemd
|
||||
CFLAGS += -Werror -Wall -Wextra -Wl,-z,relro -g -O2
|
||||
CFLAGS += -Werror -Wall -Wextra -Wl,-z,relro -g -O2 --std=gnu11
|
||||
CFLAGS += -fstack-protector-strong -D_FORTIFY_SOURCE=2
|
||||
CFLAGS += $(shell pkg-config --cflags $(LIBS))
|
||||
LDFLAGS += $(shell pkg-config --libs $(LIBS))
|
||||
|
Loading…
Reference in New Issue
Block a user