Subversion Repositories HelenOS

Rev

Rev 4263 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4263 Rev 4581
Line 42... Line 42...
42
endif
42
endif
43
 
43
 
44
## Common compiler flags
44
## Common compiler flags
45
#
45
#
46
 
46
 
47
DEFS = -DKERNEL -DRELEASE=$(RELEASE) "-DNAME=$(NAME)"
47
DEFS = -DKERNEL -DRELEASE=$(RELEASE) "-DNAME=$(NAME)" -D__$(BITS)_BITS__ -D__$(ENDIANESS)__
48
 
48
 
49
GCC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \
49
GCC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \
50
	-fexec-charset=UTF-8 -fwide-exec-charset=UTF-32 -finput-charset=UTF-8 \
50
	-fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
51
	-fno-builtin -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -Werror \
51
	-finput-charset=UTF-8 -fno-builtin -Wall -Wextra -Wno-unused-parameter \
52
	-nostdlib -nostdinc -pipe
52
	-Wmissing-prototypes -Werror -nostdlib -nostdinc -pipe
53
 
53
 
54
ICC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \
54
ICC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \
55
	-fno-builtin -Wall -Wmissing-prototypes -Werror \
55
	-fno-builtin -Wall -Wmissing-prototypes -Werror \
56
	-nostdlib -nostdinc \
56
	-nostdlib -nostdinc \
57
	-wd170
57
	-wd170