summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-03-11 20:47:44 +0800
committerruki <[email protected]>2017-03-11 20:47:44 +0800
commit0a0352dfcab823707569373bc8204f2976bc37b8 (patch)
treefeb4b16535ac3b66164b5561721b48863be55952
parent8daf036a42c99da25d854301f4dd1bce722b41e7 (diff)
fix compile error for old gcc compiler
-rwxr-xr-xcore/plat/linux/prefix.mak9
1 files changed, 2 insertions, 7 deletions
diff --git a/core/plat/linux/prefix.mak b/core/plat/linux/prefix.mak
index c4c09198c..169cccba2 100755
--- a/core/plat/linux/prefix.mak
+++ b/core/plat/linux/prefix.mak
@@ -60,17 +60,12 @@ endif
endif
# cxflags: .c/.cc/.cpp files
-CXFLAGS_RELEASE = -fvisibility=hidden
+CXFLAGS_RELEASE =
CXFLAGS_DEBUG = -g -D__tb_debug__
CXFLAGS = $(AHFLAGS) $(CXFLAGS_CHECK) -c -Wall
CXFLAGS-I = -I
CXFLAGS-o = -o
-# sse for x64 or x86
-ifneq ($(AHFLAGS),)
-CXFLAGS += -mssse3
-endif
-
# suppress warning for ccache + clang bug
CXFLAGS += $(if $(findstring clang,$(CC)),-Qunused-arguments,)
@@ -95,7 +90,7 @@ CFLAGS_DEBUG =
CFLAGS = \
-std=c99 \
-D_GNU_SOURCE=1 -D_REENTRANT \
- -fno-math-errno -fno-tree-vectorize
+ -fno-math-errno
# ccflags: .cc/.cpp files
CCFLAGS_RELEASE = -fno-rtti