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 authored and GitHub committed 2017-12-04 14:35:18 +08:00
1 parent f491f7cf5f
commit d0f7ec73b9
1 file changed
+1 -1
+1 -1
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'