1
0
mirror of https://github.com/Cloudef/bemenu synced 2024-11-23 01:12:01 +01:00

make: _DEFAULT_SOURCE is required

This commit is contained in:
Jari Vetoniemi 2020-02-07 18:32:22 +02:00
parent fcce2e019a
commit ee700c11ea

@ -11,9 +11,9 @@ WARNINGS = -Wall -Wextra -Wpedantic -Wformat=2 -Wstrict-aliasing=3 -Wstrict-over
override CFLAGS ?= -g -O2 $(WARNINGS)
override CFLAGS += -std=c99
override CPPFLAGS ?= -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE
override CPPFLAGS ?= -D_FORTIFY_SOURCE=2
override CPPFLAGS += -DBM_VERSION=\"$(VERSION)\" -DBM_PLUGIN_VERSION=\"$(VERSION)-$(GIT_SHA1)\" -DINSTALL_LIBDIR=\"$(PREFIX)$(libdir)\"
override CPPFLAGS += -Ilib
override CPPFLAGS += -D_DEFAULT_SOURCE -Ilib
libs = libbemenu.so
bins = bemenu bemenu-run