Update compiler flags to make newer compilers happy.

This commit is contained in:
David Given
2021-10-30 13:22:00 +02:00
parent 7d5fedf35f
commit 9874d4bec5

View File

@@ -1,6 +1,8 @@
PACKAGES = zlib sqlite3 libusb-1.0 protobuf
export CFLAGS = -x c++ --std=c++2a -ffunction-sections -fdata-sections
export CFLAGS = -x c++ --std=gnu++2a -ffunction-sections -fdata-sections \
-Wno-deprecated-enum-enum-conversion \
-Wno-deprecated-enum-float-conversion
export LDFLAGS = -pthread
export COPTFLAGS = -Os