mirror of
https://github.com/LIV2/bebbo-gcc.git
synced 2025-12-06 00:23:32 +00:00
@R patches to work with amigaos-*-m68k
This commit is contained in:
parent
3be02d4321
commit
1a1c3869dd
3
libobjc/configure
vendored
3
libobjc/configure
vendored
@ -7637,7 +7637,8 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
|||||||
# FIXME: we need at least 68020 code to build shared libraries, but
|
# FIXME: we need at least 68020 code to build shared libraries, but
|
||||||
# adding the `-m68020' flag to GCC prevents building anything better,
|
# adding the `-m68020' flag to GCC prevents building anything better,
|
||||||
# like `-m68040'.
|
# like `-m68040'.
|
||||||
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
|
#lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
|
||||||
|
enable_shared=no
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|||||||
@ -52,7 +52,11 @@ extern "C" {
|
|||||||
Important: this could change and we could switch to 'typedef bool
|
Important: this could change and we could switch to 'typedef bool
|
||||||
BOOL' in the future. Do not depend on the type of BOOL. */
|
BOOL' in the future. Do not depend on the type of BOOL. */
|
||||||
#undef BOOL
|
#undef BOOL
|
||||||
|
#ifdef AMIGA
|
||||||
|
typedef short BOOL;
|
||||||
|
#else
|
||||||
typedef unsigned char BOOL;
|
typedef unsigned char BOOL;
|
||||||
|
#endif
|
||||||
|
|
||||||
#define YES (BOOL)1
|
#define YES (BOOL)1
|
||||||
#define NO (BOOL)0
|
#define NO (BOOL)0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user