summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2015-12-14 19:27:17 +0800
committerruki <[email protected]>2015-12-14 19:27:17 +0800
commitf4c063e409f86d663bd038e882412d369f94ac1e (patch)
tree63331272bef3721f747fb43f3853a4b36bb63cbc
parentf846b32d3164628aac718e7eac7db718fc2b6dff (diff)
rename g++ to gcc
-rwxr-xr-xcore/plat/linux/prefix.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/plat/linux/prefix.mak b/core/plat/linux/prefix.mak
index aa94a515f..2353b790a 100755
--- a/core/plat/linux/prefix.mak
+++ b/core/plat/linux/prefix.mak
@@ -25,7 +25,7 @@ CC = $(PRE_)$(CC_)
# ld
LD_ := ${shell if [ -f "/usr/bin/clang" ]; then echo "clang"; elif [ -f "/usr/local/bin/clang" ]; then echo "clang"; else echo "gcc"; fi }
-LD_ := $(if $(findstring y,$(PROF)),g++,$(LD_))
+LD_ := $(if $(findstring y,$(PROF)),gcc,$(LD_))
LD = $(PRE_)$(LD_)
# tool