From aeb5116600a32c79125e7d66e6224683f7dbae27 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Wed, 22 Sep 1999 13:02:27 -0500 Subject: [svn-r1645] conclude.in: Problems: libtool generated compiler linking commands with dependency_libs appended to any dynamic library used but only "-lz -lmfhdf ..." were appended but "-L...", if used, are not appended. So, the "-lz ..." information is incomplete and solaris cc does not allow even if the "-L..." information is provide in later part of the command. Solution: Included $LDFLAGS in the building of $(LIB). irix5.x: irix6.x: Added "-s" to PROD_CFLAGS so that production code are striped for smaller sizes. Platform Tested: Solaris 2.6 --- config/conclude.in | 2 +- config/irix5.x | 2 +- config/irix6.x | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/conclude.in b/config/conclude.in index b3ec16b..bdd0b90 100644 --- a/config/conclude.in +++ b/config/conclude.in @@ -9,7 +9,7 @@ ## lib: $(LIB) $(LIB) __no_library__: $(LIB_OBJ) - @$(LT_LINK_LIB) -o $@ $(CFLAGS) $(LIB_OBJ) $(LIBS) + @$(LT_LINK_LIB) -o $@ $(CFLAGS) $(LIB_OBJ) $(LDFLAGS) $(LIBS) progs: $(LIB) $(PROGS) diff --git a/config/irix5.x b/config/irix5.x index 6809eca..bd757e1 100644 --- a/config/irix5.x +++ b/config/irix5.x @@ -40,7 +40,7 @@ case "X-$CC_BASENAME" in # Extra production flags # Note: higher optimizations relax alignment requirements needed. - PROD_CFLAGS=-O + PROD_CFLAGS="-O -s" PROD_CPPFLAGS= # Extra profiling flags diff --git a/config/irix6.x b/config/irix6.x index 917c3c9..e230167 100644 --- a/config/irix6.x +++ b/config/irix6.x @@ -74,7 +74,7 @@ case "X-$CC_BASENAME" in DEBUG_CPPFLAGS= # Extra production flags - PROD_CFLAGS=-O + PROD_CFLAGS="-O -s" PROD_CPPFLAGS= # Extra profiling flags -- cgit v0.12