summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/global.h2
-rw-r--r--strings/Makefile.am4
2 files changed, 2 insertions, 4 deletions
diff --git a/include/global.h b/include/global.h
index 6ad6b068b98..57b4c07b045 100644
--- a/include/global.h
+++ b/include/global.h
@@ -116,7 +116,7 @@
#endif
/* In Linux-ia64 including atomic.h will give us an error */
-#if defined(HAVE_LINUXTHREADS) && defined(__GNUC__) && defined(__ia64__)
+#if (defined(HAVE_LINUXTHREADS) && defined(__GNUC__) && defined(__ia64__)) || !defined(THREAD)
#undef HAVE_ATOMIC_ADD
#undef HAVE_ATOMIC_SUB
#endif
diff --git a/strings/Makefile.am b/strings/Makefile.am
index fac662b8789..658ea8a2a6d 100644
--- a/strings/Makefile.am
+++ b/strings/Makefile.am
@@ -64,9 +64,7 @@ OMIT_DEPENDENCIES = pthread.h stdio.h __stdio.h stdlib.h __stdlib.h math.h\
cdefs.h machdep.h signal.h __signal.h util.h
libmystrings_a_LIBADD= @CHARSET_OBJS@
-ctype.c: ctype_extra_sources.c
-#we need a dummy rule to make GNUMake get along with bitkeeper
- echo '' >/dev/null
+ctype.o: ctype_extra_sources.c
ctype_extra_sources.c: conf_to_src
./conf_to_src $(top_srcdir) @CHARSETS_NEED_SOURCE@ > \