Lines Matching +full:qemu +full:- +full:user +full:- +full:static

3 # Copyright (c) 2018-2024, Arm Limited.
4 # SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
13 #CROSS_COMPILE = aarch64-none-linux-gnu-
17 CFLAGS = -std=c99 -pipe -O3
18 CFLAGS += -Wall -Wno-missing-braces
19 CFLAGS += -Werror=implicit-function-declaration
23 HOST_CFLAGS = -std=c99 -O2
24 HOST_CFLAGS += -Wall -Wno-unused-function
27 HOST_CFLAGS += -g
28 CFLAGS += -g
33 AR = llvm-ar
34 RANLIB = llvm-ranlib
38 COMMON_WIN_CFLAGS = -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE
39 COMMON_WIN_CFLAGS += -Wno-deprecated-declarations -Wno-unused-variable
41 HOST_CFLAGS += -I$(SYSROOT)/include
42 HOST_CFLAGS += $(COMMON_WIN_CFLAGS) -Wno-ignored-attributes
43 # Clear the default flag -fPIC, as not supported on Windows
46 CFLAGS += -I$(SYSROOT)/include
52 #CFLAGS_SHARED = -fPIC -mcmodel=tiny
55 #CFLAGS += -march=armv8.5-a+memtag -DWANT_MTE_TEST=1
58 #EMULATOR = qemu-aarch64-static
59 #EMULATOR = sh -c 'scp $$1 user@host:/dir && ssh user@host /dir/"$$@"' --
62 math-cflags =
63 math-ldlibs =
64 math-ulpflags =
65 math-testflags =
66 string-cflags = -falign-functions=64
67 networking-cflags =
71 libm-libs = -lmsvcrt -lvcruntime -lucrt
72 libc-libs =
76 mpfr-libs = $(SYSROOT)/lib/libmpfr.dll.a
77 gmp-libs = $(SYSROOT)/lib/libgmp.dll.a
78 mpc-libs = $(SYSROOT)/lib/libmpc.dll.a
85 math-cflags += -DUSE_MPFR=$(USE_MPFR)
87 math-ldlibs += $(mpfr-libs) $(gmp-libs)
88 math-ulpflags += -m
91 #math-ulpflags = -q -f
92 #math-testflags = -nostatus
95 math-cflags += -frounding-math -fexcess-precision=standard -fno-stack-protector
96 math-cflags += -ffp-contract=fast -fno-math-errno
99 #math-cflags += -ffp-contract=fast
105 math-cflags += -DWANT_ERRNO=$(WANT_ERRNO)
113 math-cflags += -DWANT_SVE_TESTS=$(WANT_SVE_TESTS)
117 math-cflags += -DWANT_SIMD_EXCEPT=$(WANT_SIMD_EXCEPT)
121 math-cflags += -DWANT_EXP10_TESTS=$(WANT_EXP10_TESTS)
130 math-cflags += -DWANT_TRIGPI_TESTS=$(WANT_TRIGPI_TESTS)
133 #string-cflags += -DWANT_GNU_PROPERTY=0
136 #networking-cflags += -DWANT_ASSERT
138 # Avoid auto-vectorization of scalar code and unroll loops
139 networking-cflags += -O2 -fno-tree-vectorize -funroll-loops
143 # to interpose math functions with both static and dynamic linking
145 math-cflags += -DUSE_GLIBC_ABI=$(USE_GLIBC_ABI)
147 # Enable experimental math routines - non-C23 vector math and low-accuracy scalar
149 math-cflags += -DWANT_EXPERIMENTAL_MATH=$(WANT_EXPERIMENTAL_MATH)