summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-07-15 17:58:08 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-07-15 17:58:08 +0200
commit4be3058d96089d9e16983affbdf0d821b6e5adc3 (patch)
tree87304cf0c814702e86453c69a77b481a73d83761
parent91cc9a11a5b3d5e48304252e29e4168fad033a38 (diff)
downloadabaos-4be3058d96089d9e16983affbdf0d821b6e5adc3.tar.gz
abaos-4be3058d96089d9e16983affbdf0d821b6e5adc3.tar.bz2
...same for libc tests
-rw-r--r--tests/libc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libc/Makefile b/tests/libc/Makefile
index 1204928..37c383a 100644
--- a/tests/libc/Makefile
+++ b/tests/libc/Makefile
@@ -1,7 +1,8 @@
CC := gcc
DEFINES = -DOS_LINUX
+OPT := -O0
INCLUDES = -I. -I../../src/libc -I../../src/kernel -I/home/abaumann/cross-compilers/include
-CFLAGS := -std=c99 -m32 -ffreestanding -O0 -g -Wall -Werror $(INCLUDES) $(DEFINES)
+CFLAGS := -std=c99 -m32 -ffreestanding $(OPT) -g -Wall -Werror $(INCLUDES) $(DEFINES)
LD := $(CC)
LDFLAGS :=
NASMFLAGS := -f elf32