Added the configure for the host loongcc compiling on Loongson3.
authorZhang Xianyi <traits.zhang@gmail.com>
Thu, 11 Apr 2013 16:10:47 +0000 (16:10 +0000)
committerZhang Xianyi <traits.zhang@gmail.com>
Thu, 11 Apr 2013 16:10:47 +0000 (16:10 +0000)
Makefile.system

index 5f8c251..a69aa04 100644 (file)
@@ -65,6 +65,10 @@ ifeq ($(DEBUG), 1)
 GETARCH_FLAGS  += -g
 endif
 
+ifeq ($(HOSTCC), loongcc)
+GETARCH_FLAGS  += -static
+endif
+
 # This operation is expensive, so execution should be once.
 ifndef GOTOBLAS_MAKEFILE
 export GOTOBLAS_MAKEFILE = 1