Version information is now fetched and defined by the Makefile.

No more need to update the version manually in the init.c source.
This commit is contained in:
Jesse Smith
2018-07-01 18:44:57 -03:00
parent 8cc9f34ca4
commit 7656f9d5f9
4 changed files with 15 additions and 9 deletions

View File

@@ -10,7 +10,7 @@
CPPFLAGS =
CFLAGS ?= -O2
override CFLAGS += -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE
override CFLAGS += -ansi -fomit-frame-pointer -fstack-protector-strong -W -Wall -Wunreachable-code -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE -D_GNU_SOURCE -DVERSION=\"$(VERSION)\"
override CFLAGS += $(shell getconf LFS_CFLAGS)
STATIC =
MANDB := s@^\('\\\\\"\)[^\*-]*-\*- coding: [^[:blank:]]\+ -\*-@\1@