mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
GCC 5 changes
This commit is contained in:
committed by
Sebastian Bauer
parent
1b2c798467
commit
feebeb6751
@ -60,7 +60,7 @@ WARNINGS := \
|
|||||||
# -Wconversion -Wshadow
|
# -Wconversion -Wshadow
|
||||||
|
|
||||||
INCLUDES := -Iinclude -I. -I$(SDK_INCLUDE)
|
INCLUDES := -Iinclude -I. -I$(SDK_INCLUDE)
|
||||||
OPTIONS := -DUSE_64_BIT_INTS -D__USE_INLINE__ -Wa,-mregnames -fno-common -std=gnu99 -mcrt=clib2
|
OPTIONS := -DUSE_64_BIT_INTS -D__USE_INLINE__ -Wa,-mregnames -fno-builtin -fno-common -std=c99 -mcrt=clib2
|
||||||
OPTIMIZE := -DNDEBUG -O3
|
OPTIMIZE := -DNDEBUG -O3
|
||||||
|
|
||||||
#DEBUG := -ggdb
|
#DEBUG := -ggdb
|
||||||
@ -160,6 +160,10 @@ cvs-tag:
|
|||||||
|
|
||||||
# General build rules for all object files and the individual libraries
|
# General build rules for all object files and the individual libraries
|
||||||
|
|
||||||
|
lib/crtbegin.o : CFLAGS += -fno-aggressive-loop-optimizations
|
||||||
|
lib/crtbegin.o : crtbegin.c
|
||||||
|
@$(COMPILE)
|
||||||
|
|
||||||
lib/%.o : AFLAGS += $(LARGEDATA)
|
lib/%.o : AFLAGS += $(LARGEDATA)
|
||||||
lib/%.o : %.S
|
lib/%.o : %.S
|
||||||
@$(ASSEMBLE)
|
@$(ASSEMBLE)
|
||||||
@ -171,6 +175,11 @@ lib/small-data/%.o : AFLAGS += $(SMALLDATA)
|
|||||||
lib/small-data/%.o : %.S
|
lib/small-data/%.o : %.S
|
||||||
@$(ASSEMBLE)
|
@$(ASSEMBLE)
|
||||||
|
|
||||||
|
lib/small-data/crtbegin.o : CFLAGS += $(SMALLDATA) -fno-aggressive-loop-optimizations
|
||||||
|
lib/small-data/crtbegin.o : crtbegin.c
|
||||||
|
@$(COMPILE)
|
||||||
|
|
||||||
|
lib/small-data/%.o : CFLAGS += $(SMALLDATA)
|
||||||
lib/small-data/%.o : %.c
|
lib/small-data/%.o : %.c
|
||||||
@$(COMPILE)
|
@$(COMPILE)
|
||||||
|
|
||||||
@ -178,6 +187,11 @@ lib/soft-float/%.o : AFLAGS += $(SOFTFLOAT)
|
|||||||
lib/soft-float/%.o : %.S
|
lib/soft-float/%.o : %.S
|
||||||
@$(ASSEMBLE)
|
@$(ASSEMBLE)
|
||||||
|
|
||||||
|
lib/soft-float/crtbegin.o : CFLAGS += $(SOFTFLOAT) -fno-aggressive-loop-optimizations
|
||||||
|
lib/soft-float/crtbegin.o : crtbegin.c
|
||||||
|
@$(COMPILE)
|
||||||
|
|
||||||
|
lib/soft-float/%.o : CFLAGS += $(SOFTFLOAT)
|
||||||
lib/soft-float/%.o : %.c
|
lib/soft-float/%.o : %.c
|
||||||
@$(COMPILE)
|
@$(COMPILE)
|
||||||
|
|
||||||
@ -185,6 +199,11 @@ lib/baserel/%.o : AFLAGS += $(BASEREL)
|
|||||||
lib/baserel/%.o : %.S
|
lib/baserel/%.o : %.S
|
||||||
@$(ASSEMBLE)
|
@$(ASSEMBLE)
|
||||||
|
|
||||||
|
lib/baserel/crtbegin.o : CFLAGS += $(BASEREL) -fno-aggressive-loop-optimizations
|
||||||
|
lib/baserel/crtbegin.o : crtbegin.c
|
||||||
|
@$(COMPILE)
|
||||||
|
|
||||||
|
lib/baserel/%.o : CFLAGS += $(BASEREL)
|
||||||
lib/baserel/%.o : %.c
|
lib/baserel/%.o : %.c
|
||||||
@$(COMPILE)
|
@$(COMPILE)
|
||||||
|
|
||||||
@ -192,6 +211,11 @@ lib.threadsafe/%.o : AFLAGS += $(LARGEDATA) $(THREADSAFE)
|
|||||||
lib.threadsafe/%.o : %.S
|
lib.threadsafe/%.o : %.S
|
||||||
@$(ASSEMBLE)
|
@$(ASSEMBLE)
|
||||||
|
|
||||||
|
lib.threadsafe/crtbegin.o : CFLAGS += $(THREADSAFE) $(LARGEDATA) -fno-aggressive-loop-optimizations
|
||||||
|
lib.threadsafe/crtbegin.o : crtbegin.c
|
||||||
|
@$(COMPILE)
|
||||||
|
|
||||||
|
lib.threadsafe/%.o : CFLAGS += $(THREADSAFE) $(LARGEDATA)
|
||||||
lib.threadsafe/%.o : %.c
|
lib.threadsafe/%.o : %.c
|
||||||
@$(COMPILE)
|
@$(COMPILE)
|
||||||
|
|
||||||
@ -199,6 +223,11 @@ lib.threadsafe/small-data/%.o : AFLAGS += $(SMALLDATA) $(THREADSAFE)
|
|||||||
lib.threadsafe/small-data/%.o : %.S
|
lib.threadsafe/small-data/%.o : %.S
|
||||||
@$(ASSEMBLE)
|
@$(ASSEMBLE)
|
||||||
|
|
||||||
|
lib.threadsafe/small-data/crtbegin.o : CFLAGS += $(THREADSAFE) $(SMALLDATA) -fno-aggressive-loop-optimizations
|
||||||
|
lib.threadsafe/small-data/crtbegin.o : crtbegin.c
|
||||||
|
@$(COMPILE)
|
||||||
|
|
||||||
|
lib.threadsafe/small-data/%.o : CFLAGS += $(THREADSAFE) $(SMALLDATA)
|
||||||
lib.threadsafe/small-data/%.o : %.c
|
lib.threadsafe/small-data/%.o : %.c
|
||||||
@$(COMPILE)
|
@$(COMPILE)
|
||||||
|
|
||||||
@ -206,6 +235,11 @@ lib.threadsafe/soft-float/%.o : AFLAGS += $(SOFTFLOAT) $(THREADSAFE)
|
|||||||
lib.threadsafe/soft-float/%.o : %.S
|
lib.threadsafe/soft-float/%.o : %.S
|
||||||
@$(ASSEMBLE)
|
@$(ASSEMBLE)
|
||||||
|
|
||||||
|
lib.threadsafe/soft-float/crtbegin.o : CFLAGS += $(THREADSAFE) $(SOFTFLOAT) -fno-aggressive-loop-optimizations
|
||||||
|
lib.threadsafe/soft-float/crtbegin.o : crtbegin.c
|
||||||
|
@$(COMPILE)
|
||||||
|
|
||||||
|
lib.threadsafe/soft-float/%.o : CFLAGS += $(THREADSAFE) $(SOFTFLOAT)
|
||||||
lib.threadsafe/soft-float/%.o : %.c
|
lib.threadsafe/soft-float/%.o : %.c
|
||||||
@$(COMPILE)
|
@$(COMPILE)
|
||||||
|
|
||||||
@ -213,6 +247,11 @@ lib.threadsafe/baserel/%.o : AFLAGS += $(BASEREL) $(THREADSAFE)
|
|||||||
lib.threadsafe/baserel/%.o : %.S
|
lib.threadsafe/baserel/%.o : %.S
|
||||||
@$(ASSEMBLE)
|
@$(ASSEMBLE)
|
||||||
|
|
||||||
|
lib.threadsafe/baserel/crtbegin.o : CFLAGS += $(THREADSAFE) $(BASEREL) -fno-aggressive-loop-optimizations
|
||||||
|
lib.threadsafe/baserel/crtbegin.o : crtbegin.c
|
||||||
|
@$(COMPILE)
|
||||||
|
|
||||||
|
lib.threadsafe/baserel/%.o : CFLAGS += $(THREADSAFE) $(BASEREL)
|
||||||
lib.threadsafe/baserel/%.o : %.c
|
lib.threadsafe/baserel/%.o : %.c
|
||||||
@$(COMPILE)
|
@$(COMPILE)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user