~martin-decky/helenos/rcu

« back to all changes in this revision

Viewing changes to kernel/Makefile.build

  • Committer: Martin Decky
  • Date: 2010-02-25 19:11:25 UTC
  • Revision ID: martin@uranus.dsrg.hide.ms.mff.cuni.cz-20100225191125-kbzwwihgu0uj0dss
make sure that all statically allocated strings are declared as "const char *"
and are treated as read-only

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
        -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
56
56
        -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \
57
57
        -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
58
 
        -Werror-implicit-function-declaration -Werror -pipe
 
58
        -Werror-implicit-function-declaration -Wwrite-strings \
 
59
        -Werror -pipe
59
60
 
60
61
ICC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \
61
62
        -ffreestanding -fno-builtin -nostdlib -nostdinc -Wall -Wmissing-prototypes \
68
69
CLANG_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros ../config.h \
69
70
        -fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
70
71
        -finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \
71
 
        -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -pipe \
72
 
        -arch $(CLANG_ARCH)
 
72
        -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
 
73
        -Werror-implicit-function-declaration -Wwrite-strings \
 
74
        -pipe -arch $(CLANG_ARCH)
73
75
 
74
76
LFLAGS = -M
75
77
AFLAGS =