Skip to content

Commit 2a4822e

Browse files
committed
Try to compile with macosx
1 parent 065e0db commit 2a4822e

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/macos.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
doxygen:
1717
name: Doxygen
1818
runs-on: macos-latest
19+
env:
20+
# We globally set CC and CXX.
21+
CC: x86_64-elf-gcc
22+
CXX: x86_64-elf-g++
1923
steps:
2024
- name: Clone repository
2125
uses: actions/checkout@v3
@@ -35,7 +39,7 @@ jobs:
3539
runs-on: macos-latest
3640
# Set environment variables
3741
env:
38-
# We globally set CC and CXX to improve compatibility with .travis.yml
42+
# We globally set CC and CXX.
3943
CC: x86_64-elf-gcc
4044
CXX: x86_64-elf-g++
4145
steps:

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373

7474
# Set environment variables
7575
env:
76-
# We globally set CC and CXX to improve compatibility with .travis.yml
76+
# We globally set CC and CXX.
7777
CC: ${{ matrix.cc }}
7878
CXX: ${{ matrix.cxx }}
7979

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# =============================================================================
22
# Set the minimum required version of cmake.
33
cmake_minimum_required(VERSION 3.1...3.22)
4+
#
5+
set(HAVE_FLAG_SEARCH_PATHS_FIRST 0)
46
# Initialize the project.
57
project(mentos C ASM)
68

0 commit comments

Comments
 (0)