[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
This commit is contained in:
Albert Cheng 1999-09-22 13:02:27 -05:00
parent 0d5399fc98
commit aeb5116600
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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