microsoft/openvmm

Public

mirrored fromhttps://github.com/microsoft/openvmmAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
127be120c1f024d56eda2e78cae98d310e3ebd43

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

build_support/underhill_cross/musl-gcc.specs

39lines · modecode

1%rename cpp_options old_cpp_options
2
3*cpp_options:
4-nostdinc -isystem %:getenv(MUSL_SYSROOT /include) -isystem include%s %(old_cpp_options)
5
6*cc1:
7%(cc1_cpu) -nostdinc -isystem %:getenv(MUSL_SYSROOT /include) -isystem include%s
8
9*link_libgcc:
10-L%:getenv(MUSL_SYSROOT /lib) -L .%s
11
12*libgcc:
13libgcc.a%s %:if-exists(libgcc_eh.a%s)
14
15*startfile:
16%{static-pie: %:getenv(MUSL_SYSROOT /lib/rcrt1.o); !shared: %:getenv(MUSL_SYSROOT /lib/Scrt1.o)} %:getenv(MUSL_SYSROOT /lib/crti.o) crtbeginS.o%s
17
18*endfile:
19crtendS.o%s %:getenv(MUSL_SYSROOT /lib/crtn.o)
20
21*link:
22%{!r:--build-id} \
23--hash-style=gnu \
24%{static-pie: -no-dynamic-linker -pie; !static: -dynamic-linker /lib/ld-musl-%:getenv(MUSL_ARCH).so.1} \
25-nostdlib \
26%{shared:-shared} \
27%{static|static-pie:-static} \
28%{rdynamic:-export-dynamic} \
29%{!static: -eh-frame-hdr}
30
31*esp_link:
32
33
34*esp_options:
35
36
37*esp_cpp_options:
38
39
40