Skip to content

Commit 14bff20

Browse files
Update build.c
1 parent bafa578 commit 14bff20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ int main(int argc, char **argv) {
1212
char *EXAMPLE_FILES[] = {"SecureGzipFileServer", "Precompress", "EchoBody", "HelloWorldThreaded", "Http3Server", "Broadcast", "HelloWorld", "Crc32", "ServerName",
1313
"EchoServer", "BroadcastingEchoServer", "UpgradeSync", "UpgradeAsync", "ParameterRoutes"};
1414

15-
strcat(CXXFLAGS, " -march=native -O3 -Wpedantic -Wall -Wextra -Wsign-conversion -Wconversion -std=c++23 -Isrc -IuSockets/src");
15+
strcat(CXXFLAGS, " -march=native -O3 -Wpedantic -Wall -Wextra -Wsign-conversion -Wconversion -std=c++2b -Isrc -IuSockets/src");
1616
strcat(LDFLAGS, " uSockets/*.o");
1717

1818
// We can use libdeflate as a fast path to zlib (you need to build it first)

0 commit comments

Comments
 (0)