=== modified file 'kernel/Makefile'
--- kernel/Makefile	2012-10-25 20:10:50 +0000
+++ kernel/Makefile	2013-03-25 20:48:42 +0000
@@ -100,11 +100,10 @@
 	-Werror-implicit-function-declaration -wd170
 
 CLANG_CFLAGS = $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
-	-fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
-	-finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \
+	-ffreestanding -fno-builtin -nostdlib -nostdinc \
 	-Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
 	-Werror-implicit-function-declaration -Wwrite-strings \
-	-pipe -arch $(CLANG_ARCH)
+	-pipe
 
 ifeq ($(CONFIG_DEBUG),y)
 	GCC_CFLAGS += -Werror
@@ -176,6 +175,7 @@
 
 ifeq ($(COMPILER),clang)
 	CFLAGS = $(CLANG_CFLAGS)
+	DEFS += -DNVERIFY_PRINTF
 	DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
 	INSTRUMENTATION =
 endif

=== modified file 'uspace/Makefile.common'
--- uspace/Makefile.common	2013-03-10 14:56:21 +0000
+++ uspace/Makefile.common	2013-03-25 20:49:05 +0000
@@ -198,11 +200,10 @@
 	-pipe -g -D__$(ENDIANESS)__
 
 CLANG_CFLAGS = $(LIBC_INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
-	-fexec-charset=UTF-8 -fwide-exec-charset=UTF-32$(ENDIANESS) \
-	-finput-charset=UTF-8 -ffreestanding -fno-builtin -nostdlib -nostdinc \
+	-ffreestanding -fno-builtin -nostdlib -nostdinc \
 	-Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes \
 	-Werror-implicit-function-declaration -Wwrite-strings \
-	-pipe -g -arch $(CLANG_ARCH) -D__$(ENDIANESS)__
+	-pipe -g -D__$(ENDIANESS)__
 
 LIB_CFLAGS = $(CFLAGS) -fPIC -D__IN_SHARED_LIBC__
 LIB_LFLAGS = $(LFLAGS) -shared -soname $(LSONAME) --whole-archive
@@ -250,6 +251,7 @@
 
 ifeq ($(COMPILER),clang)
 	CFLAGS += $(CLANG_CFLAGS) $(EXTRA_CFLAGS)
+	DEFS += -DNVERIFY_PRINTF
 	DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
 endif
 

