diff options
author | Thomas White <taw@physics.org> | 2015-07-09 15:39:43 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-07-09 15:39:43 +0200 |
commit | d80615db26ff88e3c925e58eeaa122dc7b818dd6 (patch) | |
tree | 47ad731c55b3d318e2c24ea2ec0d60a684bb935a /src | |
parent | 0b58cdda49dc96592fb6ed655b5a092b0ad0b97a (diff) |
Remove -Werror from OpenCL compilation flags
Diffstat (limited to 'src')
-rw-r--r-- | src/cl-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cl-utils.c b/src/cl-utils.c index 9f984169..5f3be316 100644 --- a/src/cl-utils.c +++ b/src/cl-utils.c @@ -266,7 +266,7 @@ cl_program load_program(const char *filename, cl_context ctx, return 0; } - snprintf(cflags, 1023, "-Werror "); + cflags[0] = '\0'; strncat(cflags, "-I"DATADIR"/crystfel/ ", 1023-strlen(cflags)); strncat(cflags, "-cl-no-signed-zeros ", 1023-strlen(cflags)); strncat(cflags, extra_cflags, 1023-strlen(cflags)); |