static libs on linux only

svn path=/trunk/boinc/; revision=1417
This commit is contained in:
Karl Chen 2003-06-12 07:07:07 +00:00
parent 827f5efe24
commit ae51dc00d5
1 changed files with 4 additions and 1 deletions

View File

@ -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)