* shlib.conf (alpha*-dec-osf*): Use $(PTHREAD_CFLAGS) in CC_LINK_SHARED and
authorKen Raeburn <raeburn@mit.edu>
Mon, 12 Jul 2004 01:41:27 +0000 (01:41 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 12 Jul 2004 01:41:27 +0000 (01:41 +0000)
CC_LINK_STATIC.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16585 dc483132-0cff-0310-8789-dd5450dbe970

src/config/ChangeLog
src/config/shlib.conf

index 871e93dc151bac81434733f974f6988cfad5d2a1..3668b89045f159314dc0a22e32caa6f564ffeea2 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-11  Ken Raeburn  <raeburn@mit.edu>
+
+       * shlib.conf (alpha*-dec-osf*): Use $(PTHREAD_CFLAGS) in
+       CC_LINK_SHARED and CC_LINK_STATIC.
+
 2004-07-09  Ken Raeburn  <raeburn@mit.edu>
 
        * shlib.conf (alpha*-dec-osf*): Use $(PTHREAD_CFLAGS) in
index f456773516771407afb6a88ddb61c318e9ed871c..7078afeac1111dc9c02a0efa6f1e3d0d757ea437 100644 (file)
@@ -44,16 +44,16 @@ alpha*-dec-osf*)
        SHLIB_EXPFLAGS='-rpath $(SHLIB_RDIRS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)'
        PROFFLAGS=-pg
        RPATH_FLAG='-Wl,-rpath -Wl,'
-       CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) $(RPATH_FLAG)$(PROG_RPATH) $(CFLAGS) $(LDFLAGS)'
+       CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) $(RPATH_FLAG)$(PROG_RPATH) $(CFLAGS) $(PTHREAD_CFLAGS) $(LDFLAGS)'
        if test "$krb5_cv_prog_gcc" = yes; then
                # Really should check for gnu ld vs system ld, too.
-               CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) $(CFLAGS) $(LDFLAGS)'
+               CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) $(CFLAGS) $(PTHREAD_CFLAGS) $(LDFLAGS)'
        else
                # Need -oldstyle_liblookup to avoid picking up shared libs from
                # other builds.  OSF/1 / Tru64 ld programs look through the entire
                # library path for shared libs prior to looking through the
                # entire library path for static libs.
-               CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) -Wl,-oldstyle_liblookup $(CFLAGS) $(LDFLAGS)'
+               CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) -Wl,-oldstyle_liblookup $(CFLAGS) $(PTHREAD_CFLAGS) $(LDFLAGS)'
        fi
        # _RLD_ROOT hack needed to repoint "root" directory for purposes
        # of searching for shared libs, since RPATHs take precedence over