Rev 2444 | Rev 2453 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2444 | Rev 2452 | ||
|---|---|---|---|
| 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 | #SUNCC_CFLAGS = -xO3 -Igeneric/include/ -xnolib -xc99=all |
41 | #SUNCC_CFLAGS = -xO3 -Igeneric/include/ -xnolib -xc99=all -D__FUNCTION__=__func__ |
| 42 | LFLAGS = -M |
42 | LFLAGS = -M |
| 43 | AFLAGS = |
43 | AFLAGS = |
| 44 | 44 | ||
| 45 | ifdef REVISION |
45 | ifdef REVISION |
| 46 | DEFS += "-DREVISION=\"$(REVISION)\"" |
46 | DEFS += "-DREVISION=\"$(REVISION)\"" |