Commit f6c19ca5 authored by IOhannes zmölnig's avatar IOhannes zmölnig

Display Debian-version at splashscreen

parent a2bb2194
......@@ -10,6 +10,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/pkg-info.mk
DATE_FMT = %Y/%m/%d at %H:%M:%S UTC
ifdef SOURCE_DATE_EPOCH
......@@ -18,6 +19,10 @@ else
BUILD_DATE ?= $(shell date "+$(DATE_FMT)")
endif
export PKGVERSION_CODENAME="Debian/$(DEB_VERSION)"
CPPFLAGS+=-DGEM_VERSION_CODENAME='"$(PKGVERSION_CODENAME)"'
ifeq ($(DEB_HOST_ARCH_CPU), ppc64el)
CXXFLAGS+=-m64 -mcpu=powerpc
CFLAGS+=-m64 -mcpu=powerpc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment