summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/config/ChangeLog5
-rw-r--r--src/config/shlib.conf6
2 files changed, 8 insertions, 3 deletions
diff --git a/src/config/ChangeLog b/src/config/ChangeLog
index 871e93dc1..3668b8904 100644
--- a/src/config/ChangeLog
+++ b/src/config/ChangeLog
@@ -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
diff --git a/src/config/shlib.conf b/src/config/shlib.conf
index f45677351..7078afeac 100644
--- a/src/config/shlib.conf
+++ b/src/config/shlib.conf
@@ -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