From b3c2e40598ad72e3b15fea525229ff3bb8ebd957 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 74a2479..0388989 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1593,13 +1593,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