From 4d48e146c7d053ec2d6bd8aefa382eafb1ce5e56 Mon Sep 17 00:00:00 2001 From: Olaf Flebbe Date: Wed, 12 May 2010 08:31:30 +0200 Subject: [PATCH] fix hard coded compiler name: it is now possible to create 64bit samba on HP-UX PA-Risc (HPUX-11.11 etc.) with the native compiler. (gcc does not support 64 bit on PA-Risc) --- source3/configure.in | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/configure.in b/source3/configure.in index 765bac7..f2830e9 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1653,13 +1653,13 @@ DSO_EXPORTS="" *hpux*) AC_DEFINE(HPUX,1,[Whether the host os is HPUX]) # Use special PIC flags for the native HP-UX compiler. BLDSHARED="true" - SHLD="cc" LDSHFLAGS="-b -Wl,-B,symbolic,-b,-z" SONAMEFLAG="-Wl,+h " - PICFLAG="+z" if test "${GCC}" = "yes"; then + SHLD="cc" PICFLAG="-fPIC" else + SHLD="\${CC}" PICFLAG="+z +ESnolit" fi if test "$host_cpu" = "ia64"; then -- 1.6.0.2