Update build.c

This commit is contained in:
uNetworkingAB
2023-02-05 09:43:42 +01:00
committed by GitHub
parent c2209fbad2
commit 4815f22ad3
+2 -2
View File
@@ -12,7 +12,7 @@ int main(int argc, char **argv) {
char *EXAMPLE_FILES[] = {"Client", "Http3Server", "Broadcast", "HelloWorld", "Crc32", "ServerName", char *EXAMPLE_FILES[] = {"Client", "Http3Server", "Broadcast", "HelloWorld", "Crc32", "ServerName",
"EchoServer", "BroadcastingEchoServer", "UpgradeSync", "UpgradeAsync"}; "EchoServer", "BroadcastingEchoServer", "UpgradeSync", "UpgradeAsync"};
strcat(CXXFLAGS, " -O3 -Wpedantic -Wall -Wextra -Wsign-conversion -Wconversion -std=c++2a -Isrc -IuSockets/src"); strcat(CXXFLAGS, " -O3 -Wpedantic -Wall -Wextra -Wsign-conversion -Wconversion -std=c++20 -Isrc -IuSockets/src");
strcat(LDFLAGS, " uSockets/*.o"); strcat(LDFLAGS, " uSockets/*.o");
// By default we use LTO, but Windows does not support it // By default we use LTO, but Windows does not support it
@@ -88,4 +88,4 @@ int main(int argc, char **argv) {
} else if (!strcmp(argv[1], "all")) { } else if (!strcmp(argv[1], "all")) {
printf("all target does nothing yet\n"); printf("all target does nothing yet\n");
} }
} }