Makefile: add STATIC=true for static PIE builds #349

Merged
6543 merged 13 commits from noerw/tea:make-static into master 2021-09-23 16:01:07 +00:00

13 Commits

Author SHA1 Message Date
Norwin
46fe9b0075 Merge branch 'master' into make-static
All checks were successful
continuous-integration/drone/pr Build is passing
2021-09-23 19:26:29 +08:00
ce624ca25f Merge branch 'master' into make-static
All checks were successful
continuous-integration/drone/pr Build is passing
2021-08-12 23:03:11 +08:00
Norwin
7fbd5bc8d6 Merge branch 'master' into make-static 2021-06-29 18:19:28 +08:00
38168aab67
Merge branch 'master' into make-static
All checks were successful
continuous-integration/drone/pr Build is passing
2021-06-24 12:26:44 +02:00
b0521a7391
document static_build tag
All checks were successful
continuous-integration/drone/pr Build is passing
2021-05-10 22:57:26 +02:00
ec58ba91bf
fix make release
All checks were successful
continuous-integration/drone/pr Build is passing
2021-05-10 22:50:22 +02:00
da5898c4aa
update dockerfile to work with make STATIC=true
All checks were successful
continuous-integration/drone/pr Build is passing
and add a .dockerignore
2021-05-10 22:37:10 +02:00
ed0180fd49
simplify makefile variables 2021-05-10 22:26:59 +02:00
d71473cdd4
produce PIE with make STATIC=true
this is documented nowhere, but I finally found a way to have both of
- static builds
- position independent executables

exotic flags of arcane build tools ftw!
2021-05-10 22:21:20 +02:00
ba907e8236
Merge branch 'master' into make-static 2021-04-08 14:43:21 +02:00
6c219abc6c
make: fix STATIC=true
All checks were successful
continuous-integration/drone/pr Build is passing
- -buildmode=pie silently creates dynamically linked executables
- also was passing the wrong tags to main.Tags
2021-03-17 12:53:21 +01:00
6131decbe2
cleanup makefile
remove unused / duplicate variables
2021-03-17 12:50:47 +01:00
a323a8d1fd
allow static builds via make STATIC=true
All checks were successful
continuous-integration/drone/pr Build is passing
2021-03-15 15:41:42 +01:00