aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/config/ho-hpux.h6
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index eeef52d5..d81e06b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,7 @@
Mon Feb 21 11:41:18 1994 Ian Lance Taylor (ian@cygnus.com)
+ * config/ho-hpux.h (BROKEN_ASSERT): Define if not __GNUC__.
+
* read.c (read_a_source_file): Use correct arguments to memcpy
(broken 19 Jul 1993). From kjd@pescadero.stanford.edu (Kenneth
Duda).
diff --git a/gas/config/ho-hpux.h b/gas/config/ho-hpux.h
index 23310d7..38099e0 100644
--- a/gas/config/ho-hpux.h
+++ b/gas/config/ho-hpux.h
@@ -27,6 +27,12 @@
#undef setbuffer
#endif /* setbuffer */
+/* When using cc on HP/UX 8.07, an assert condition can not contain a
+ string literal. */
+#ifndef __GNUC__
+#define BROKEN_ASSERT
+#endif
+
#define setbuffer(stream, buf, size)
/* Some basic include files. Avoid including ho-sysv.h as it defines