Skip to content

GCC15 introduces some new issues #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ INCLUDE = -isystem$(TOPDIR)/include \
-I$(TOPDIR)/lib/jpeg/ -I$(TOPDIR)/menu/actions -I$(TOPDIR)/menu/textmenu -I$(TOPDIR)/menu/iconmenu \

#These are intended to be non-overridable.
CROM_CFLAGS=$(INCLUDE) -m32 -fno-builtin -nostdinc -fno-stack-protector -no-pie -DGITREV=\\\"$(GITREV)\\\"
CROM_CFLAGS=$(INCLUDE) -std=gnu99 -m32 -fno-builtin -nostdinc -fno-stack-protector -no-pie -DGITREV=\\\"$(GITREV)\\\"

#You can override these if you wish.
CFLAGS= -m32 -O2 -g -march=pentium -nostdinc -pipe -fomit-frame-pointer -Wstrict-prototypes -fno-builtin -fno-stack-protector -no-pie
CFLAGS= -std=gnu99 -m32 -O2 -g -march=pentium -nostdinc -pipe -fomit-frame-pointer -Wstrict-prototypes -fno-builtin -fno-stack-protector -no-pie

# add the option for gcc 3.3 only, again, non-overridable
ifeq ($(GCC_3.3), 1)
Expand All @@ -50,7 +50,7 @@ ifeq ($(ETHERBOOT), yes)
ETH_SUBDIRS = etherboot
CROM_CFLAGS += -DETHERBOOT
ETH_INCLUDE = -isystem$(TOPDIR)/include -I$(TOPDIR)/etherboot/include -I$(TOPDIR)/etherboot/arch/i386/include
ETH_CFLAGS = -m32 -O2 -march=pentium -nostdinc $(ETH_INCLUDE) -Wstrict-prototypes -fomit-frame-pointer -pipe -Ui386 -fno-builtin -fno-stack-protector -no-pie
ETH_CFLAGS = -std=gnu99 -m32 -O2 -march=pentium -nostdinc $(ETH_INCLUDE) -Wstrict-prototypes -fomit-frame-pointer -pipe -Ui386 -fno-builtin -fno-stack-protector -no-pie
endif

LDFLAGS-ROM = -s -S -T $(TOPDIR)/scripts/ldscript-crom.ld
Expand Down
2 changes: 1 addition & 1 deletion lib/imagebld/imagebld.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ struct BiosIdentifier {
unsigned char MD5Hash[16];
};

void showUsage();
void showUsage(char *progname);

void shax(unsigned char *result, unsigned char *data, unsigned int len)
{
Expand Down
Loading