diff options
Diffstat (limited to 'userspace')
-rw-r--r-- | userspace/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/userspace/Makefile b/userspace/Makefile index 56709ec4..1483aa24 100644 --- a/userspace/Makefile +++ b/userspace/Makefile | |||
@@ -58,6 +58,13 @@ CONFIGS=-D__NVGPU_POSIX__ | |||
58 | # CC = clang | 58 | # CC = clang |
59 | CC = gcc | 59 | CC = gcc |
60 | CFLAGS = -Wall -ggdb -Werror -fPIC $(INCLUDES) $(CONFIGS) | 60 | CFLAGS = -Wall -ggdb -Werror -fPIC $(INCLUDES) $(CONFIGS) |
61 | CFLAGS = -Wall -Wextra -ggdb -Werror -Wno-unused-parameter \ | ||
62 | -Wno-missing-field-initializers -Wformat -Wchar-subscripts \ | ||
63 | -Wparentheses -Wtrigraphs -Wpointer-arith -Wmissing-declarations \ | ||
64 | -Wmissing-prototypes -Wredundant-decls -Wmain -Wreturn-type \ | ||
65 | -Wmultichar -Wunused -Wmissing-braces -Wstrict-aliasing \ | ||
66 | -Wsign-compare -Waddress -Wno-unused-local-typedefs -fPIC \ | ||
67 | $(INCLUDES) $(CONFIGS) | ||
61 | LIB_PATHS = -L$(OUT) | 68 | LIB_PATHS = -L$(OUT) |
62 | LIBS = -lpthread -pthread -lgcov -ldl | 69 | LIBS = -lpthread -pthread -lgcov -ldl |
63 | 70 | ||