Skip to content

Commit

Permalink
revert changes to build system and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiangreffrath committed Dec 18, 2024
1 parent 9d9f501 commit 83a41ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
config:
- name: Linux GCC
os: ubuntu-24.04
compiler: gcc-14
compiler: gcc
extra-options: -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=OFF
shell: bash

Expand All @@ -45,7 +45,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install \
gcc-14 \
ninja-build \
libsdl2-dev \
libsdl2-net-dev \
Expand Down Expand Up @@ -94,7 +93,6 @@ jobs:
- name: Configure
env:
CC: ${{ matrix.config.compiler }}
CFLAGS: -std=gnu23
run: |
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release \
-DENABLE_WERROR=ON -DENABLE_HARDENING=ON -DENABLE_LTO=ON \
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ project("Woof"
VERSION 15.0.1
LANGUAGES C)

# set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD 99)

# Set a default build type if none was specified
set(default_build_type "RelWithDebInfo")
Expand Down

0 comments on commit 83a41ee

Please sign in to comment.