|
|
|
@ -49,7 +49,7 @@ static char *file_contents(const char *filename, int *length)
@@ -49,7 +49,7 @@ static char *file_contents(const char *filename, int *length)
|
|
|
|
|
void set_base_compiler_options(build_kernel_data *data) |
|
|
|
|
{ |
|
|
|
|
char buf[255]; |
|
|
|
|
sprintf(data->compiler_options, "-I \"%s\" -I \"%s\\kernel\" -I \".\" -D WORKSIZE=%d", |
|
|
|
|
sprintf(data->compiler_options, "-I \"%s\" -I \"%s/kernel\" -I \".\" -D WORKSIZE=%d", |
|
|
|
|
data->sgminer_path, data->sgminer_path, (int)data->work_size); |
|
|
|
|
applog(LOG_DEBUG, "Setting worksize to %d", (int)(data->work_size)); |
|
|
|
|
|
|
|
|
|