From ae51dc00d53cf85fddbfbe6df67f875434f85cf7 Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Thu, 12 Jun 2003 07:07:07 +0000 Subject: [PATCH] static libs on linux only svn path=/trunk/boinc/; revision=1417 --- client/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/Makefile.am b/client/Makefile.am index 158223324f..d5ec4dedc0 100644 --- a/client/Makefile.am +++ b/client/Makefile.am @@ -2,6 +2,9 @@ include $(top_srcdir)/Makefile.incl +# by default, "-static -static-libgcc" on linux. +STATIC_FLAGS=@STATIC_FLAGS@ + bin_PROGRAMS = boinc_client EXTRA_PROGRAMS = speed_stats @@ -44,7 +47,7 @@ boinc_client_SOURCES = \ boinc_client_DEPENDENCIES = $(LIBRSA) boinc_client_CPPFLAGS = -I $(srcdir)/win $(AM_CPPFLAGS) boinc_client_LDADD = $(RSA_LIBS) -boinc_client_LDFLAGS = -static -static-libgcc +boinc_client_LDFLAGS = $(STATIC_FLAGS) speed_stats_SOURCES = speed_stats.C speed_stats_CFLAGS = -O6 $(AM_CFLAGS)