Merge branch 'main' into mbedtls-upgrade

This commit is contained in:
Levi Neely 2024-08-14 22:32:08 +02:00
commit b90e739f29
4 changed files with 21 additions and 4 deletions

17
.github/workflows/c-cpp.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: C/C++ CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: make
run: sudo apt-get update && sudo apt-get install -y libudev-dev libfuse-dev
- name: make
run: make

View File

@ -17,6 +17,7 @@ This version of pcloudcc is independently maintained by me, whose only affiliati
[Boost](http://www.boost.org/) Boost system and boost program options libraries used.
[Pthread](http://www.gnu.org/)
[Fuse](https://github.com/libfuse/libfuse) Filesystem in Userspace.
libsqlite3. lightweight SQL database.
## Build steps

View File

@ -4,7 +4,7 @@ RANLIB=ranlib
#USESSL=openssl
USESSL=mbed
CFLAGS=-Werror -O2 -g -fno-stack-protector -fomit-frame-pointer -mtune=core2 -I../sqlite -fPIC
CFLAGS=-Werror -O2 -g -fno-stack-protector -fomit-frame-pointer -I../sqlite -fPIC
LIB_A=psynclib.a
UNAME_S := $(shell uname -s)

View File

@ -1,9 +1,8 @@
CC=cc
#USESSL=openssl
USESSL=mbed
#CFLAGS=-Wall -Wpointer-arith -O2 -g -fsanitize=address -mtune=core2
CFLAGS=-Wall -Wpointer-arith -O2 -g -fno-stack-protector -fomit-frame-pointer -mtune=core2 -DPCLOUD_TESTING
CFLAGS=-Wall -Wpointer-arith -O2 -g -fsanitize=address
#CFLAGS=-Wall -Wpointer-arith -O2 -g -fno-stack-protector -fomit-frame-pointer -DPCLOUD_TESTING
UNAME_S := $(shell uname -s)
UNAME_V := $(shell uname -v)