git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3698 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-12-18 19:40:00 +00:00
parent aeeaa8b3a8
commit f3cd9235b2
2 changed files with 2 additions and 23 deletions

View File

@ -3326,7 +3326,7 @@ EOF
;;
esac
DSO_CFLAGS=-fPIC
DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name @executable_path/$@ -headerpad_max_install_names'
DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name $dist_libdir/$@ -headerpad_max_install_names'
# Use the standard preprocessor (cpp)
CFLAGS="$CFLAGS -no-cpp-precomp"
MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
@ -3896,23 +3896,11 @@ EOF
PR_MD_ASFILES=os_Linux_ia64.s
;;
x86_64)
if test -n "$USE_64"; then
PR_MD_ASFILES=os_Linux_x86_64.s
else
cat >> confdefs.h <<\EOF
#define i386 1
EOF
PR_MD_ASFILES=os_Linux_x86.s
CC="$CC -m32"
CXX="$CXX -m32"
fi
;;
powerpc64)
if test -n "$USE_64"; then
CC="$CC -m64"
CXX="$CXX -m64"
fi
;;
m68k)
CFLAGS="$CFLAGS -m68020-60"

View File

@ -975,7 +975,7 @@ case "$target" in
;;
esac
DSO_CFLAGS=-fPIC
DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name @executable_path/$@ -headerpad_max_install_names'
DSO_LDOPTS='-dynamiclib -compatibility_version 1 -current_version 1 -all_load -install_name $dist_libdir/$@ -headerpad_max_install_names'
# Use the standard preprocessor (cpp)
CFLAGS="$CFLAGS -no-cpp-precomp"
MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
@ -1425,20 +1425,11 @@ tools are selected during the Xcode/Developer Tools installation.])
PR_MD_ASFILES=os_Linux_ia64.s
;;
x86_64)
if test -n "$USE_64"; then
PR_MD_ASFILES=os_Linux_x86_64.s
else
AC_DEFINE(i386)
PR_MD_ASFILES=os_Linux_x86.s
CC="$CC -m32"
CXX="$CXX -m32"
fi
;;
powerpc64)
if test -n "$USE_64"; then
CC="$CC -m64"
CXX="$CXX -m64"
fi
;;
m68k)
CFLAGS="$CFLAGS -m68020-60"