2020-11-11 14:14:19 +00:00
|
|
|
From 8ae8c6bba601ce9ae8a3d54776ef934fb0a7986d Mon Sep 17 00:00:00 2001
|
|
|
|
From: Kumar Gala <kumar.gala@linaro.org>
|
|
|
|
Date: Wed, 11 Nov 2020 08:09:50 -0600
|
|
|
|
Subject: [PATCH] [AArch64] Fix build issue with aarch64-builtins.c on MacOS X
|
|
|
|
host
|
|
|
|
|
|
|
|
When building w/clang on MacOS X we get the following error:
|
|
|
|
|
|
|
|
gcc/config/aarch64/aarch64-builtins.c:1231:3: error: expected expression
|
|
|
|
AARCH64_INIT_MEMTAG_BUILTINS_DECL (IRG, irg, irg, fntype);
|
|
|
|
|
|
|
|
Fix this by adding '-std=gnu++11' to the compile line.
|
|
|
|
|
|
|
|
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
|
|
|
|
---
|
2022-02-11 02:00:59 +00:00
|
|
|
gcc/config/aarch64/t-aarch64 | 2 +-
|
2020-11-11 14:14:19 +00:00
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
--- a/gcc/config/aarch64/t-aarch64
|
|
|
|
+++ b/gcc/config/aarch64/t-aarch64
|
2022-02-11 02:00:59 +00:00
|
|
|
@@ -41,7 +41,7 @@
|
2020-11-11 14:14:19 +00:00
|
|
|
$(srcdir)/config/aarch64/aarch64-simd-builtins.def \
|
|
|
|
$(srcdir)/config/aarch64/aarch64-simd-builtin-types.def \
|
|
|
|
aarch64-builtin-iterators.h
|
|
|
|
- $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
|
|
|
|
+ $(COMPILER) -std=gnu++11 -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
|
|
|
|
$(srcdir)/config/aarch64/aarch64-builtins.c
|
|
|
|
|
|
|
|
aarch64-sve-builtins.o: $(srcdir)/config/aarch64/aarch64-sve-builtins.cc \
|