Lines Matching +full:build +full:- +full:linux +full:- +full:gcc

3 # Copyright (c) 2018-2023, Arm Limited.
4 # SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6 # Subprojects to build
9 # Subsubprojects to build if subproject pl is built
15 # Use for cross compilation with gcc.
16 #CROSS_COMPILE = aarch64-none-linux-gnu-
19 CC = $(CROSS_COMPILE)gcc
20 CFLAGS = -std=c99 -pipe -O3
21 CFLAGS += -Wall -Wno-missing-braces
22 CFLAGS += -Werror=implicit-function-declaration
25 HOST_CC = gcc
26 HOST_CFLAGS = -std=c99 -O2
27 HOST_CFLAGS += -Wall -Wno-unused-function
30 HOST_CFLAGS += -g
31 CFLAGS += -g
34 #CFLAGS_SHARED = -fPIC -mcmodel=tiny
37 #CFLAGS += -march=armv8.5-a+memtag -DWANT_MTE_TEST=1
40 #EMULATOR = qemu-aarch64-static
41 #EMULATOR = sh -c 'scp $$1 user@host:/dir && ssh user@host /dir/"$$@"' --
44 math-cflags =
45 math-ldlibs =
46 math-ulpflags =
47 math-testflags =
48 string-cflags =
49 networking-cflags =
52 #math-ldlibs += -lmpfr -lgmp
53 #math-cflags += -DUSE_MPFR
55 # Use with gcc.
56 math-cflags += -frounding-math -fexcess-precision=standard -fno-stack-protector
57 math-cflags += -ffp-contract=fast -fno-math-errno
60 #math-cflags += -ffp-contract=fast
63 # If WANT_SVE_MATH is enabled, math-sve-cflags is added for SVE
69 math-sve-cflags = -march=armv8-a+sve
71 math-cflags += -DWANT_SVE_MATH=$(WANT_SVE_MATH)
77 math-cflags += -DWANT_ERRNO=$(WANT_ERRNO)
81 math-cflags += -DWANT_SIMD_EXCEPT=$(WANT_SIMD_EXCEPT)
84 #math-ulpflags = -q -f
85 #math-testflags = -nostatus
88 #string-cflags += -DWANT_GNU_PROPERTY=0
91 #networking-cflags += -DWANT_ASSERT
93 # Avoid auto-vectorization of scalar code and unroll loops
94 networking-cflags += -O2 -fno-tree-vectorize -funroll-loops