mirror of
https://github.com/deadw00d/AROS.git
synced 2026-03-19 03:28:06 +00:00
Fix fd2inline build with gcc 15. Also tested with gcc 11.
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
include $(TOP)/config/make.cfg
|
||||
|
||||
USER_CPPFLAGS := '-DVERSION="1.39"'
|
||||
USER_CFLAGS := -Wall -Wstrict-prototypes -g -O2
|
||||
USER_CFLAGS := -Wall -Wstrict-prototypes -std=c11 -g -O2
|
||||
|
||||
all : $(FD2INLINE)
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@ RANLIB = @RANLIB@
|
||||
AWK = @AWK@
|
||||
DEFS = @DEFS@
|
||||
LIBS = @LIBS@
|
||||
CFLAGS = $(DEFS) -Wall -Wstrict-prototypes \
|
||||
CFLAGS = $(DEFS) -Wall -Wstrict-prototypes -std=c11 \
|
||||
'-DVERSION="$(VERSION)"' @CFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
|
||||
|
||||
@ -30,6 +30,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
||||
/******************************************************************************
|
||||
* The program has a few sort of class definitions, which are the result of
|
||||
|
||||
Reference in New Issue
Block a user