1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Add warnings to userspace compile flags.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-09-08 20:33:52 +02:00
parent b0807e8c7a
commit d855c6cec7
4 changed files with 19 additions and 13 deletions

View file

@ -2,6 +2,8 @@
OSROOT=..
include ../crosscompilemakefile.mak
CXXFLAGS:=$(CXXFLAGS) -Wall -Wextra
INITRDDIR:=../initrd
LOCALBINARIES:=\
benchsyscall \

View file

@ -16,21 +16,21 @@ ifeq ($(CPU),x64)
CPULDFLAGS=-melf_x86_64
endif
LIBMAXSIROOT=$(OSROOT)/libmaxsi
SORTIXROOT=$(OSROOT)/sortix
LIBMAXSIROOT:=$(OSROOT)/libmaxsi
SORTIXROOT:=$(OSROOT)/sortix
LIBC=$(LIBMAXSIROOT)/start.o $(LIBMAXSIROOT)/libc.a
LIBS=$(LIBC)
LIBC:=$(LIBMAXSIROOT)/start.o $(LIBMAXSIROOT)/libc.a
LIBS:=$(LIBC)
CPPFLAGS=$(CPUDEFINES) -U_GNU_SOURCE -Ulinux -Dsortix
FLAGS=-nostdinc -nostdlib -fno-builtin -nostartfiles -nodefaultlibs
INCLUDES=-I $(LIBMAXSIROOT)/preproc -I $(SORTIXROOT)/include
CPPFLAGS:=$(CPUDEFINES) -U_GNU_SOURCE -Ulinux -Dsortix
FLAGS:=-nostdinc -nostdlib -nostartfiles -nodefaultlibs
INCLUDES:=-I $(LIBMAXSIROOT)/preproc -I $(SORTIXROOT)/include
LD=ld
LDFLAGS=$(CPULDFLAGS)
CC=gcc
CFLAGS=$(CPUFLAGS) $(FLAGS) $(INCLUDES)
CXX=g++
CXXFLAGS=$(CPUFLAGS) $(FLAGS) $(INCLUDES) -fno-exceptions -fno-rtti
LD:=ld
LDFLAGS:=$(CPULDFLAGS)
CC:=gcc
CFLAGS:=$(CPUFLAGS) $(FLAGS) $(INCLUDES)
CXX:=g++
CXXFLAGS:=$(CPUFLAGS) $(FLAGS) $(INCLUDES) -fno-exceptions -fno-rtti

View file

@ -2,6 +2,8 @@
OSROOT=..
include ../crosscompilemakefile.mak
CXXFLAGS:=$(CXXFLAGS) -Wall -Wextra
INITRDDIR:=../initrd
LOCALBINARIES:=\
pong \

View file

@ -2,6 +2,8 @@
OSROOT=..
include ../crosscompilemakefile.mak
CXXFLAGS:=$(CXXFLAGS) -Wall -Wextra
INITRDDIR:=../initrd
LOCALBINARIES:=\
init \