Mon Dec 18 18:19:50 CET 2006 Paolo Molaro <lupus@ximian.com>
authorPaolo Molaro <lupus@oddwiz.org>
Mon, 18 Dec 2006 17:21:34 +0000 (17:21 -0000)
committerPaolo Molaro <lupus@oddwiz.org>
Mon, 18 Dec 2006 17:21:34 +0000 (17:21 -0000)
* configure.in: fixed compiler/linker options when
configuring under hpux/ia64 (patch from warren@warrenandrachel.com
(Warren Smith)).

svn path=/trunk/mono/; revision=69672

ChangeLog
configure.in

index 6471f9787df91c15f7797b51bc1ff8e756077a00..1a34eac98ae297897250effae4b02c738bc69a07 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
 
+Mon Dec 18 18:19:50 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * configure.in: fixed compiler/linker options when
+       configuring under hpux/ia64 (patch from warren@warrenandrachel.com
+       (Warren Smith)).
+
 Mon Dec 18 15:28:49 CET 2006 Paolo Molaro <lupus@ximian.com>
 
        * configure.in: detection code for dlopen ().
index a77de96a342f9570d777fa4201b89b742b13b3b9..eea5483f4f1a57fbf105bf5d9bb55ffe5ca7a5c8 100644 (file)
@@ -193,6 +193,14 @@ case "$host" in
        *-*-hpux*)
         platform_win32=no
                CPPFLAGS="$CPPFLAGS -DGC_HPUX_THREADS -D_HPUX_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_REENTRANT"
+               # +ESdbgasm only valid on bundled cc on RISC
+               # silently ignored for ia64
+               if test $GCC != "yes"; then
+                       CFLAGS="$CFLAGS +ESdbgasm"
+                       # Arrange for run-time dereferencing of null
+                       # pointers to produce a SIGSEGV signal.
+                       LDFLAGS="$LDFLAGS -z"
+               fi
                CFLAGS="$CFLAGS +ESdbgasm"
                LDFLAGS="$LDFLAGS -z"
                libmono_cflags="-D_REENTRANT"