mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[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:
parent
0d5399fc98
commit
aeb5116600
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user