diff options
| -rwxr-xr-x | core/plat/linux/prefix.mak | 2 |
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 |
