Author: jfrederic.clere(a)jboss.com
Date: 2013-06-12 10:34:41 -0400 (Wed, 12 Jun 2013)
New Revision: 3096
Modified:
trunk/build/unix/build.sh
Log:
Prevent using a broken C compiler (like /usr/ccs/bin/cc).
Modified: trunk/build/unix/build.sh
===================================================================
--- trunk/build/unix/build.sh 2013-06-11 15:58:06 UTC (rev 3095)
+++ trunk/build/unix/build.sh 2013-06-12 14:34:41 UTC (rev 3096)
@@ -362,7 +362,11 @@
;;
HP-UX*)
BUILD_SYS="hpux"
- CC=cc
+ if [ -f /opt/aCC/bin/cc ]; then
+ CC=/opt/aCC/bin/cc
+ else
+ CC=/opt/ansic/bin/cc
+ fi
export CC
#
http://hpux.cs.utah.edu/ only has a 32 bits one.
if [ $BUILD_CPU = "i64" ]; then