diff options
author | Albert Cheng <acheng@hdfgroup.org> | 1999-09-22 18:02:27 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 1999-09-22 18:02:27 (GMT) |
commit | aeb5116600a32c79125e7d66e6224683f7dbae27 (patch) | |
tree | 1971e81ef98d84c649cebe743e6e94e70f12a42a | |
parent | 0d5399fc9888da5793d2c4a135f8bc346fb19986 (diff) | |
download | hdf5-aeb5116600a32c79125e7d66e6224683f7dbae27.zip hdf5-aeb5116600a32c79125e7d66e6224683f7dbae27.tar.gz hdf5-aeb5116600a32c79125e7d66e6224683f7dbae27.tar.bz2 |
[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
-rw-r--r-- | config/conclude.in | 2 | ||||
-rw-r--r-- | config/irix5.x | 2 | ||||
-rw-r--r-- | 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 |