diff --git a/amiga/gcc_aos3.cfg b/amiga/gcc_aos3.cfg index db3c4837..1b103c99 100644 --- a/amiga/gcc_aos3.cfg +++ b/amiga/gcc_aos3.cfg @@ -1,14 +1,18 @@ # makefile fragment for m68k-amigaos / gcc -#CRT_FLAGS = -mcrt=clib2 -CRT_FLAGS = -noixemul +### build against clib2: +CRT_FLAGS = -mcrt=clib2 +CFLAGS += -DHAVE_STDINT_H + +### build against libnix: +#CRT_FLAGS = -noixemul +#INCLUDE+= -I../include/stdint +# avoid conflicts between our stdint.h and ixemul sys/types.h +#CFLAGS += -D_ANSI_SOURCE CFLAGS += $(CRT_FLAGS) LDFLAGS+= $(CRT_FLAGS) -INCLUDE+= -I../include/stdint LDFLAGS+= -lm 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 2964e813..95f3625c 100644 --- a/amiga/gcc_aos4.cfg +++ b/amiga/gcc_aos4.cfg @@ -1,7 +1,6 @@ # makefile fragment for ppc-amigaos4 / gcc #CRT_FLAGS = -mcrt=clib2 -#CRT_FLAGS = -noixemul CRT_FLAGS = -mcrt=newlib CFLAGS += $(CRT_FLAGS)