Fixed #199. Saved USE_THREAD switch for make install.
authorZhang Xianyi <traits.zhang@gmail.com>
Fri, 24 May 2013 07:15:52 +0000 (15:15 +0800)
committerZhang Xianyi <traits.zhang@gmail.com>
Fri, 24 May 2013 07:15:52 +0000 (15:15 +0800)
Makefile

index bde7cf3..7424dd6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -154,6 +154,9 @@ ifeq ($(DYNAMIC_ARCH), 1)
        done
        echo DYNAMIC_ARCH=1 >> Makefile.conf_last
 endif
+ifdef USE_THREAD
+       echo USE_THREAD=$(USE_THREAD) >>  Makefile.conf_last
+endif
        touch lib.grd
 
 prof : prof_blas prof_lapack