Skip to content

Commit

Permalink
minor update to amiga makefiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Apr 11, 2024
1 parent 76750cb commit 88735d2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
14 changes: 9 additions & 5 deletions amiga/gcc_aos3.cfg
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion amiga/gcc_aos4.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# makefile fragment for ppc-amigaos4 / gcc

#CRT_FLAGS = -mcrt=clib2
#CRT_FLAGS = -noixemul
CRT_FLAGS = -mcrt=newlib

CFLAGS += $(CRT_FLAGS)
Expand Down

0 comments on commit 88735d2

Please sign in to comment.