mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
41 lines
533 B
Django/Jinja
41 lines
533 B
Django/Jinja
{% extends "target.default.j2" %}
|
|
|
|
{% block binaries %}
|
|
cc = clang
|
|
cxx = clang++
|
|
ld = ld
|
|
ar = ar
|
|
nasm = nasm
|
|
objcopy = objcopy
|
|
{% endblock %}
|
|
|
|
{% block variables %}
|
|
|
|
ccflags = $ccflags $
|
|
-ggdb $
|
|
-nostdlib $
|
|
-ffreestanding $
|
|
-nodefaultlibs $
|
|
-fno-builtin $
|
|
-mno-sse $
|
|
-fno-omit-frame-pointer $
|
|
-mno-red-zone $
|
|
-fshort-wchar $
|
|
-D__ELF__ $
|
|
-fPIC
|
|
|
|
cxxflags = $cxxflags $
|
|
-fno-exceptions $
|
|
-fno-rtti $
|
|
|
|
ldflags = $ldflags $
|
|
-g $
|
|
-nostdlib $
|
|
-Bsymbolic $
|
|
-nostartfiles
|
|
|
|
{% endblock %}
|
|
|
|
# vim: ft=ninja et ts=4 sts=4 sw=4
|
|
|