mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Try using clang instead of gcc.
This commit is contained in:
2
.github/workflows/ccpp.yml
vendored
2
.github/workflows/ccpp.yml
vendored
@@ -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: |
|
||||||
|
|||||||
4
Makefile
4
Makefile
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user