chore: use cc instead of hardcoding compiler

This commit is contained in:
Kévin Dunglas
2024-10-07 13:32:42 +02:00
parent 8d9b6e755b
commit 029ce7e0ad
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ jobs:
name: Compile edant/watcher
run: |
cd edant/watcher/watcher-c/
gcc -o libwatcher.so ./src/watcher-c.cpp -I ./include -I ../include -std=c++17 -O3 -Wall -Wextra -fPIC -shared
cc -o libwatcher.so ./src/watcher-c.cpp -I ./include -I ../include -std=c++17 -O3 -Wall -Wextra -fPIC -shared
sudo cp libwatcher.so /usr/local/lib/libwatcher.so
sudo ldconfig
-