Subversion Repositories HelenOS

Rev

Rev 2452 | Rev 2454 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2452 Rev 2453
Line 36... Line 36...
36
## Common compiler flags
36
## Common compiler flags
37
#
37
#
38
 
38
 
39
DEFS = -D$(ARCH) -DARCH=\"$(ARCH)\" -DRELEASE=\"$(RELEASE)\" "-DNAME=\"$(NAME)\"" -DKERNEL
39
DEFS = -D$(ARCH) -DARCH=\"$(ARCH)\" -DRELEASE=\"$(RELEASE)\" "-DNAME=\"$(NAME)\"" -DKERNEL
40
CFLAGS = -fno-builtin -fomit-frame-pointer -Wall -Wmissing-prototypes -Werror -O3 -nostdlib -nostdinc -Igeneric/include/
40
CFLAGS = -fno-builtin -fomit-frame-pointer -Wall -Wmissing-prototypes -Werror -O3 -nostdlib -nostdinc -Igeneric/include/
-
 
41
 
41
#SUNCC_CFLAGS = -xO3 -Igeneric/include/ -xnolib -xc99=all -D__FUNCTION__=__func__
42
#SUNCC_CFLAGS = -xO3 -Igeneric/include/ -xnolib -xc99=all \
-
 
43
#-D__FUNCTION__=__func__ -features=extensions \
-
 
44
#-erroff=E_ZERO_SIZED_STRUCT_UNION
-
 
45
 
42
LFLAGS = -M
46
LFLAGS = -M
43
AFLAGS =
47
AFLAGS =
44
 
48
 
45
ifdef REVISION
49
ifdef REVISION
46
	DEFS += "-DREVISION=\"$(REVISION)\""
50
	DEFS += "-DREVISION=\"$(REVISION)\""