diff options
Diffstat (limited to '3rdparty/utf8proc/bench')
-rw-r--r-- | 3rdparty/utf8proc/bench/Makefile | 3 | ||||
-rw-r--r-- | 3rdparty/utf8proc/bench/icu.c | 2 | ||||
-rw-r--r-- | 3rdparty/utf8proc/bench/unistring.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/3rdparty/utf8proc/bench/Makefile b/3rdparty/utf8proc/bench/Makefile index ea12dcbba27..8b82be2afd6 100644 --- a/3rdparty/utf8proc/bench/Makefile +++ b/3rdparty/utf8proc/bench/Makefile @@ -1,7 +1,8 @@ CURL=curl CC = cc -CFLAGS = -O2 -std=c99 -pedantic -Wall +CFLAGS ?= -O2 +CFLAGS += -std=c99 -pedantic -Wall all: bench diff --git a/3rdparty/utf8proc/bench/icu.c b/3rdparty/utf8proc/bench/icu.c index 3ac3514158c..a162c32da8d 100644 --- a/3rdparty/utf8proc/bench/icu.c +++ b/3rdparty/utf8proc/bench/icu.c @@ -41,7 +41,7 @@ int main(int argc, char **argv) /* ICU's insane normalization API requires you to know the size of the destination buffer in advance, - or alternatively to repeatly try normalizing and + or alternatively to repeatedly try normalizing and double the buffer size until it succeeds. Here, I just allocate a huge destination buffer to avoid the issue. */ UChar *udest = (UChar*) malloc(10*ulen * sizeof(UChar)); diff --git a/3rdparty/utf8proc/bench/unistring.c b/3rdparty/utf8proc/bench/unistring.c index 2cc5ce8d990..8a97f3c701e 100644 --- a/3rdparty/utf8proc/bench/unistring.c +++ b/3rdparty/utf8proc/bench/unistring.c @@ -1,4 +1,4 @@ -/* comparitive benchmark of GNU libunistring */ +/* comparative benchmark of GNU libunistring */ #include <stdio.h> #include <stdlib.h> |