This commit is contained in:
anon 2023-08-03 11:58:29 +02:00
commit d56564ed63
2 changed files with 3 additions and 3 deletions

View File

@ -15,9 +15,9 @@ LDFLAGS='-lircclient -lsqlite3'
mkdir -p $PREFIX && echo "Made directory: $PREFIX" mkdir -p $PREFIX && echo "Made directory: $PREFIX"
# Bourne shell is evil # Bourne shell is evil
if [ ${DEBUG} -eq 1 ] if [ ${DEBUG-0} -eq 1 ]
then then
CFLAGS=`echo "${CFLAGS} -Og -g3"` CFLAGS=`echo "${CFLAGS} -Og -ggdb"`
else else
CPPFLAGS="${CPPFLAGS} -DNDEBUG" CPPFLAGS="${CPPFLAGS} -DNDEBUG"
CFLAGS=`echo "${CFLAGS} -O2 -flto=auto -fomit-frame-pointer -s"` CFLAGS=`echo "${CFLAGS} -O2 -flto=auto -fomit-frame-pointer -s"`

View File

@ -24,7 +24,7 @@
#include "parse.h" #include "parse.h"
#include "error.h" #include "error.h"
#define PARAMS_COUNT 2 #define PARAMS_COUNT 5
creds_t creds = {0}; creds_t creds = {0};