summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-06-26 22:33:35 -0700
committerJulian Blake Kongslie2022-06-26 22:33:35 -0700
commit63e8930dd238ef80b226223cfd83f73dbb858a81 (patch)
tree9b068cc698cab3feed2e15acbd4d67970405fed0 /Makefile
parentMove a bunch of code from headers to separate compilation units. (diff)
downloadissim-63e8930dd238ef80b226223cfd83f73dbb858a81.tar.xz
Support link-time optimization.
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index be9dc32..5c0e04a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
1OPTIMIZE ?= -O3 1OPTIMIZE ?= -O3 -flto
2DEBUG ?= -g 2DEBUG ?= -g
3 3
4AR ?= ar 4AR ?= ar
@@ -21,9 +21,9 @@ endif
21$(info Version ${VERSION}) 21$(info Version ${VERSION})
22 22
23define GITTAGCPP = 23define GITTAGCPP =
24#include <string> 24#include "git-tag.h"
25 25
26std::string GIT_TAG = "$(subst ",\",${VERSION})"; 26const char *GIT_TAG = "$(subst ",\",${VERSION})";
27endef 27endef
28export GITTAGCPP 28export GITTAGCPP
29 29