Lines Matching +full:gcc +full:- +full:aarch64 +full:- +full:linux +full:- +full:gnu
3 # Copyright (c) 2018-2020, Arm Limited.
4 # SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
9 # Target architecture: aarch64, arm or x86_64
10 ARCH = aarch64
12 # Use for cross compilation with gcc.
13 #CROSS_COMPILE = aarch64-none-linux-gnu-
16 CC = $(CROSS_COMPILE)gcc
17 CFLAGS = -std=c99 -pipe -O3
18 CFLAGS += -Wall -Wno-missing-braces
19 CFLAGS += -Werror=implicit-function-declaration
22 HOST_CC = gcc
23 HOST_CFLAGS = -std=c99 -O2
24 HOST_CFLAGS += -Wall -Wno-unused-function
27 HOST_CFLAGS += -g
28 CFLAGS += -g
30 # Optimize the shared libraries on aarch64 assuming they fit in 1M.
31 #CFLAGS_SHARED = -fPIC -mcmodel=tiny
34 #CFLAGS += -march=armv8.5-a+memtag -DWANT_MTE_TEST=1
37 #EMULATOR = qemu-aarch64-static
38 #EMULATOR = sh -c 'scp $$1 user@host:/dir && ssh user@host /dir/"$$@"' --
41 math-cflags =
42 math-ldlibs =
43 math-ulpflags =
44 math-testflags =
45 string-cflags =
46 networking-cflags =
49 #math-ldlibs += -lmpfr -lgmp
50 #math-cflags += -DUSE_MPFR
52 # Use with gcc.
53 math-cflags += -frounding-math -fexcess-precision=standard -fno-stack-protector
54 math-cflags += -ffp-contract=fast -fno-math-errno
57 #math-cflags += -ffp-contract=fast
60 #math-cflags += -DWANT_VMATH=0
63 #math-ulpflags = -q -f
64 #math-testflags = -nostatus
66 # Remove GNU Property Notes from asm files.
67 #string-cflags += -DWANT_GNU_PROPERTY=0
70 #networking-cflags += -DWANT_ASSERT
72 # Avoid auto-vectorization of scalar code and unroll loops
73 networking-cflags += -O2 -fno-tree-vectorize -funroll-loops