From 75a5dc3975a96ed4c7888a57356f2e8570adccbf Mon Sep 17 00:00:00 2001 From: Zhang Xianyi Date: Thu, 11 Apr 2013 16:10:47 +0000 Subject: [PATCH] Added the configure for the host loongcc compiling on Loongson3. --- Makefile.system | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.system b/Makefile.system index 5f8c251b0..a69aa0464 100644 --- a/Makefile.system +++ b/Makefile.system @@ -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