Skip to content
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
2 changes: 1 addition & 1 deletion firmware/isoldr/loader/Makefile.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ TARGETSIZE = $(TARGETPREFIX)-size
TARGETLDFLAGS = -Wl,--gc-sections -Wl,--no-warn-rwx-segments \
-Tshlelf.xc -Ttext=$(TARGET) \
-nostartfiles -nostdlib -nodefaultlibs
TARGETCFLAGS = -ml -m4-single-only -ffunction-sections -fdata-sections -ffreestanding \
TARGETCFLAGS = -ml -m4-single -ffunction-sections -fdata-sections -ffreestanding \
-fno-builtin -fno-strict-aliasing -fomit-frame-pointer \
-freorder-blocks-algorithm=simple -flto=auto \
-Wall -std=c17 -Wextra -Werror \
Expand Down
2 changes: 1 addition & 1 deletion firmware/isoldr/syscalls/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TARGETLD = $(TARGETPREFIX)-ld
TARGETAS = $(TARGETPREFIX)-as
TARGETSIZE = $(TARGETPREFIX)-size
TARGETLDFLAGS = -Wl,--gc-sections -Tshlelf.xc -nostartfiles -nostdlib -nodefaultlibs
TARGETCFLAGS = -ml -m4-single-only -ffunction-sections -fdata-sections -ffreestanding \
TARGETCFLAGS = -ml -m4-single -ffunction-sections -fdata-sections -ffreestanding \
-fno-builtin -fno-strict-aliasing -fomit-frame-pointer \
-Wall -std=c17 -Wextra -Werror

Expand Down
2 changes: 1 addition & 1 deletion include/gl/gl.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ typedef int32 GLsizei; /* 4-byte signed */
typedef float GLfloat; /* single precision float */
typedef float GLclampf; /* single precision float in [0,1] */

/* For these next two, KOS is generally compiled in m4-single-only, so we
/* For these next two, KOS is generally compiled in m4-single, so we
just use floats for everything anyway. */
typedef float GLdouble; /* double precision float */
typedef float GLclampd; /* double precision float in [0,1] */
Expand Down
2 changes: 1 addition & 1 deletion modules/mp3/libmp3/libmp3/sndmp3.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/* This library is designed to be called from another program in a thread. It
expects an input filename, and it will do all the setup and playback work.

This requires a working math library for m4-single-only (such as newlib).
This requires a working math library for m4-single (such as newlib).

*/

Expand Down
2 changes: 1 addition & 1 deletion modules/mp3/libmp3/libmp3/sndmp3_mpg123.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

/* This library is designed to be called from another program in a thread. It
expects an input filename, and it will do all the setup and playback work.
This requires a working math library for m4-single-only (such as newlib).
This requires a working math library for m4-single (such as newlib).
*/


Expand Down
2 changes: 1 addition & 1 deletion modules/mp3/libmp3/libmp3/sndmp3_mpglib.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/* This library is designed to be called from another program in a thread. It
expects an input filename, and it will do all the setup and playback work.

This requires a working math library for m4-single-only (such as newlib).
This requires a working math library for m4-single (such as newlib).

*/

Expand Down
6 changes: 3 additions & 3 deletions modules/mp3/libmp3/mpg123/Makefile.orig
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ AWK = gawk
CC = /opt/toolchains/dc/sh-elf/bin/sh-elf-gcc
CCAS = /opt/toolchains/dc/sh-elf/bin/sh-elf-gcc
CCASDEPMODE = depmode=gcc3
CCASFLAGS = -O2 -fomit-frame-pointer -ml -m4-single-only -fno-crossjumping -I/usr/local/dc/kos/kos/../kos-ports/include -I/usr/local/dc/kos/kos/include -I/usr/local/dc/kos/kos/kernel/arch/dreamcast/include -I/usr/local/dc/kos/kos/addons/include -D_arch_dreamcast -D_arch_sub_pristine -Wall -g -fno-builtin -fno-strict-aliasing
CCASFLAGS = -O2 -fomit-frame-pointer -ml -m4-single -fno-crossjumping -I/usr/local/dc/kos/kos/../kos-ports/include -I/usr/local/dc/kos/kos/include -I/usr/local/dc/kos/kos/kernel/arch/dreamcast/include -I/usr/local/dc/kos/kos/addons/include -D_arch_dreamcast -D_arch_sub_pristine -Wall -g -fno-builtin -fno-strict-aliasing
CCDEPMODE = depmode=gcc3
CFLAGS = -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -O2 -fomit-frame-pointer -ml -m4-single-only -fno-crossjumping -I/usr/local/dc/kos/kos/../kos-ports/include -I/usr/local/dc/kos/kos/include -I/usr/local/dc/kos/kos/kernel/arch/dreamcast/include -I/usr/local/dc/kos/kos/addons/include -D_arch_dreamcast -D_arch_sub_pristine -Wall -g -fno-builtin -fno-strict-aliasing
CFLAGS = -O2 -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -O2 -fomit-frame-pointer -ml -m4-single -fno-crossjumping -I/usr/local/dc/kos/kos/../kos-ports/include -I/usr/local/dc/kos/kos/include -I/usr/local/dc/kos/kos/kernel/arch/dreamcast/include -I/usr/local/dc/kos/kos/addons/include -D_arch_dreamcast -D_arch_sub_pristine -Wall -g -fno-builtin -fno-strict-aliasing
COREAUDIO_CFLAGS =
COREAUDIO_LDFLAGS =
COREAUDIO_LIBS = -framework AudioToolbox -framework AudioUnit -framework CoreServices
Expand Down Expand Up @@ -158,7 +158,7 @@ INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
JACK_CFLAGS =
JACK_LDFLAGS =
JACK_LIBS =
LDFLAGS = -ml -m4-single-only -Wl,-Ttext=0x8c010000 -T/usr/local/dc/kos/kos/utils/ldscripts/shlelf.xc -nodefaultlibs -L/usr/local/dc/kos/kos/lib/dreamcast -L/usr/local/dc/kos/kos/addons/lib/dreamcast
LDFLAGS = -ml -m4-single -Wl,-Ttext=0x8c010000 -T/usr/local/dc/kos/kos/utils/ldscripts/shlelf.xc -nodefaultlibs -L/usr/local/dc/kos/kos/lib/dreamcast -L/usr/local/dc/kos/kos/addons/lib/dreamcast
LFS_LOBJ = lfs_alias.lo
LIBMPG123_VERSION = 32:0:32
LIBOBJS =
Expand Down
Loading