better use gcc to link instead of g++

on ubuntu, use g++ will add a additional linkflag "-lstdc++" and this will result link failed.
This commit is contained in:
parai 2017-12-04 14:35:18 +08:00 committed by GitHub
parent f491f7cf5f
commit d0f7ec73b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ if PLATFORM == 'gcc':
CXX = PREFIX + 'g++'
AS = PREFIX + 'gcc'
AR = PREFIX + 'ar'
LINK = PREFIX + 'g++'
LINK = PREFIX + 'gcc'
TARGET_EXT = 'elf'
SIZE = PREFIX + 'size'
OBJDUMP = PREFIX + 'objdump'