diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-19 19:23:34 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-19 19:23:34 +0100 |
commit | 7b27ab493b56f9e77d805c4f44a1717f3a79231e (patch) | |
tree | a3037447f4e3d428a61a5c3cfb4e2a98ea5981e4 /src/rules.make | |
parent | 62e5a35940198f0f8fbabdf31c80455647420c4e (diff) | |
download | kogata-7b27ab493b56f9e77d805c4f44a1717f3a79231e.tar.gz kogata-7b27ab493b56f9e77d805c4f44a1717f3a79231e.zip |
Userland test infrastructure
Diffstat (limited to 'src/rules.make')
-rw-r--r-- | src/rules.make | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rules.make b/src/rules.make index 14dfe0a..9640480 100644 --- a/src/rules.make +++ b/src/rules.make @@ -4,11 +4,11 @@ AS = nasm ASFLAGS = -felf -g CC = i586-elf-gcc -CFLAGS += -ffreestanding -std=gnu99 -Wall -Wextra -Werror -Wno-unused-parameter -I . -I ./include -g +CFLAGS += -ffreestanding -std=gnu99 -Wall -Wextra -Werror -Wno-unused-parameter -I . -I ./include -g -O2 -Os # CXX = i586-elf-g++ # CXFLAGS = -ffreestanding -O3 -Wall -Wextra -I . -I ./include -fno-exceptions -fno-rtti LD = i586-elf-gcc -LDFLAGS += -ffreestanding -nostdlib -lgcc +LDFLAGS += -ffreestanding -nostdlib -lgcc -O2 -Os all: $(OUT) |