From 63e8930dd238ef80b226223cfd83f73dbb858a81 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sun, 26 Jun 2022 22:33:35 -0700 Subject: Support link-time optimization. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index be9dc32..5c0e04a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -OPTIMIZE ?= -O3 +OPTIMIZE ?= -O3 -flto DEBUG ?= -g AR ?= ar @@ -21,9 +21,9 @@ endif $(info Version ${VERSION}) define GITTAGCPP = -#include +#include "git-tag.h" -std::string GIT_TAG = "$(subst ",\",${VERSION})"; +const char *GIT_TAG = "$(subst ",\",${VERSION})"; endef export GITTAGCPP -- cgit v1.2.3