diff --git a/amiga/gcc_aos3.cfg b/amiga/gcc_aos3.cfg index 9116225a..db3c4837 100644 --- a/amiga/gcc_aos3.cfg +++ b/amiga/gcc_aos3.cfg @@ -1,9 +1,14 @@ # makefile fragment for m68k-amigaos / gcc +#CRT_FLAGS = -mcrt=clib2 +CRT_FLAGS = -noixemul + +CFLAGS += $(CRT_FLAGS) +LDFLAGS+= $(CRT_FLAGS) + INCLUDE+= -I../include/stdint -LDFLAGS+= -noixemul LDFLAGS+= -lm -CFLAGS += -noixemul CFLAGS += -DWORDS_BIGENDIAN=1 + # avoid conflicts between our stdint.h and ixemul sys/types.h CFLAGS += -D_ANSI_SOURCE diff --git a/amiga/gcc_aos4.cfg b/amiga/gcc_aos4.cfg index 5b2786fc..2964e813 100644 --- a/amiga/gcc_aos4.cfg +++ b/amiga/gcc_aos4.cfg @@ -1,9 +1,15 @@ # makefile fragment for ppc-amigaos4 / gcc -LDFLAGS+= -noixemul +#CRT_FLAGS = -mcrt=clib2 +#CRT_FLAGS = -noixemul +CRT_FLAGS = -mcrt=newlib + +CFLAGS += $(CRT_FLAGS) +LDFLAGS+= $(CRT_FLAGS) + LDFLAGS+= -lm -CFLAGS += -noixemul CFLAGS += -DWORDS_BIGENDIAN=1 CFLAGS += -D__USE_INLINE__ CFLAGS += -D__USE_OLD_TIMEVAL__ +