Skip to content

Commit

Permalink
update amigaos and amigaos4 build flags for crt choice.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Oct 10, 2018
1 parent 7da9da1 commit 4a31bab
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
9 changes: 7 additions & 2 deletions amiga/gcc_aos3.cfg
Original file line number Diff line number Diff line change
@@ -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
10 changes: 8 additions & 2 deletions amiga/gcc_aos4.cfg
Original file line number Diff line number Diff line change
@@ -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__

0 comments on commit 4a31bab

Please sign in to comment.