mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Fix build on IBM i
* Lots of warnings about subdirectories. Set an automake option to deal with this. * Set an ar flag for explicit 64-bit when on IBM i, due to it defaulting to 64-bit output with official gcc by default.
This commit is contained in:
parent
4380f3820e
commit
795e7ec162
@ -5,7 +5,7 @@ AC_PREREQ(2.50)
|
||||
|
||||
AC_CONFIG_HEADERS([irssi-config.h])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AM_INIT_AUTOMAKE([1.9 no-define foreign])
|
||||
AM_INIT_AUTOMAKE([1.9 no-define foreign subdir-objects])
|
||||
|
||||
AM_SILENT_RULES([yes])
|
||||
|
||||
@ -199,6 +199,12 @@ case "$host_os" in
|
||||
hpux*)
|
||||
CFLAGS="$CFLAGS -D_XOPEN_SOURCE_EXTENDED"
|
||||
;;
|
||||
os400*)
|
||||
dnl IBM i uses ppc64 gcc by default, but binutils defaults to 32-bit. Force
|
||||
dnl IBM binutils, and force it into ppc64 mode. This isn't set for AIX
|
||||
dnl because gcc there defaults to ppc32.
|
||||
AR="/usr/bin/ar -X64"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user