Try using clang instead of gcc.

This commit is contained in:
David Given
2025-09-20 16:00:38 +02:00
parent 6552dba9aa
commit 3cd95de434
2 changed files with 3 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ jobs:
run: | run: |
set -x set -x
pacman -S --needed --noconfirm pactoys make python diffutils ninja pacman -S --needed --noconfirm pactoys make python diffutils ninja
pacboy -S --needed --noconfirm protobuf:p pkg-config:p curl-winssl:p file:p glfw:p gcc:p mbedtls:p sqlite:p freetype:p boost:p pacboy -S --needed --noconfirm protobuf:p pkg-config:p curl-winssl:p file:p glfw:p mbedtls:p sqlite:p freetype:p boost:p clang:p
- name: run - name: run
run: | run: |

View File

@@ -10,8 +10,8 @@ export BUILDTYPE
ifeq ($(BUILDTYPE),windows) ifeq ($(BUILDTYPE),windows)
MINGW = x86_64-w64-mingw32- MINGW = x86_64-w64-mingw32-
CC = $(MINGW)gcc CC = $(MINGW)clang
CXX = $(MINGW)g++ CXX = $(MINGW)clang++
CFLAGS += -g -O3 \ CFLAGS += -g -O3 \
-ffunction-sections \ -ffunction-sections \
-fdata-sections \ -fdata-sections \