mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-06-28 01:48:26 +00:00
Use x86-64-v3 Microarch
This commit is contained in:
parent
4a2877f28b
commit
ae937d8339
2
Makefile
2
Makefile
@ -42,7 +42,7 @@ get-libs:
|
|||||||
|
|
||||||
# TODO: add support for ARM64 via cross-compilation
|
# TODO: add support for ARM64 via cross-compilation
|
||||||
invidious: get-libs
|
invidious: get-libs
|
||||||
crystal build src/invidious.cr $(FLAGS) --progress --stats --error-trace
|
crystal build src/invidious.cr $(FLAGS) --progress --stats --error-trace --mcpu=x86-64-v3
|
||||||
|
|
||||||
|
|
||||||
run: invidious
|
run: invidious
|
||||||
|
@ -23,7 +23,7 @@ RUN crystal spec --warnings all \
|
|||||||
--link-flags "-lxml2 -llzma"
|
--link-flags "-lxml2 -llzma"
|
||||||
RUN if [[ "${release}" == 1 ]] ; then \
|
RUN if [[ "${release}" == 1 ]] ; then \
|
||||||
crystal build ./src/invidious.cr \
|
crystal build ./src/invidious.cr \
|
||||||
--release \
|
--release --mcpu=x86-64-v3 \
|
||||||
--static --warnings all \
|
--static --warnings all \
|
||||||
--link-flags "-lxml2 -llzma"; \
|
--link-flags "-lxml2 -llzma"; \
|
||||||
else \
|
else \
|
||||||
|
Loading…
Reference in New Issue
Block a user