summaryrefslogtreecommitdiffstats
path: root/src/include/ChangeLog
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2005-06-07 06:18:40 +0000
committerKen Raeburn <raeburn@mit.edu>2005-06-07 06:18:40 +0000
commitcfe4a5ea14da20881824ea8878adc71f9b6991a8 (patch)
treea64271618eba02102ada281218946251d2332db2 /src/include/ChangeLog
parentc8e3422a682521dbccbfba4133d5a459996b2588 (diff)
downloadkrb5-cfe4a5ea14da20881824ea8878adc71f9b6991a8.tar.gz
krb5-cfe4a5ea14da20881824ea8878adc71f9b6991a8.tar.xz
krb5-cfe4a5ea14da20881824ea8878adc71f9b6991a8.zip
don't always require support library when building with sun cc
By default, a non-GCC configuration will not optimize during the build. The Solaris C compiler will always output functions defined as "inline", at least when not optimizing, even if they're never used. With recent changes on the trunk, k5_call_init_function will cause the support library to be required on Solaris by every program that includes k5-platform.h. This patch should fix that. * k5-platform.h (MAYBE_DEFINE_CALLINIT_FUNCTION) [DELAY_INITIALIZER]: New macro. If not __GNUC__, define k5_call_init_function in the expansion; otherwise, do nothing. (MAKE_INIT_FUNCTION) [DELAY_INITIALIZER]: Use it. (k5_call_init_function): Don't define function form at top level. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17230 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/ChangeLog')
-rw-r--r--src/include/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index 217c6a59c..2551c6536 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -1,3 +1,11 @@
+2005-06-07 Ken Raeburn <raeburn@mit.edu>
+
+ * k5-platform.h (MAYBE_DEFINE_CALLINIT_FUNCTION)
+ [DELAY_INITIALIZER]: New macro. If not __GNUC__, define
+ k5_call_init_function in the expansion; otherwise, do nothing.
+ (MAKE_INIT_FUNCTION) [DELAY_INITIALIZER]: Use it.
+ (k5_call_init_function): Don't define function form at top level.
+
2005-05-31 Ken Raeburn <raeburn@mit.edu>
* k5-thread.h (krb5int_pthread_loaded) [HAVE_PRAGMA_WEAK_REF]: