diff options
| author | Julian Blake Kongslie | 2022-06-26 22:33:35 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-06-26 22:33:35 -0700 |
| commit | 63e8930dd238ef80b226223cfd83f73dbb858a81 (patch) | |
| tree | 9b068cc698cab3feed2e15acbd4d67970405fed0 /Makefile | |
| parent | Move a bunch of code from headers to separate compilation units. (diff) | |
| download | issim-63e8930dd238ef80b226223cfd83f73dbb858a81.tar.xz | |
Support link-time optimization.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | OPTIMIZE ?= -O3 | 1 | OPTIMIZE ?= -O3 -flto |
| 2 | DEBUG ?= -g | 2 | DEBUG ?= -g |
| 3 | 3 | ||
| 4 | AR ?= ar | 4 | AR ?= ar |
| @@ -21,9 +21,9 @@ endif | |||
| 21 | $(info Version ${VERSION}) | 21 | $(info Version ${VERSION}) |
| 22 | 22 | ||
| 23 | define GITTAGCPP = | 23 | define GITTAGCPP = |
| 24 | #include <string> | 24 | #include "git-tag.h" |
| 25 | 25 | ||
| 26 | std::string GIT_TAG = "$(subst ",\",${VERSION})"; | 26 | const char *GIT_TAG = "$(subst ",\",${VERSION})"; |
| 27 | endef | 27 | endef |
| 28 | export GITTAGCPP | 28 | export GITTAGCPP |
| 29 | 29 | ||
