--- framework/Makefile.orig 2023-05-24 19:23:05 UTC +++ framework/Makefile @@ -7,14 +7,14 @@ WAZUH_GROUP = wazuh INSTALLDIR ?= /var/ossec -CC = gcc -CFLAGS = -pipe -Wall -Wextra +CC ?= gcc +CFLAGS ?= -pipe -Wall -Wextra THREAD_FLAGS = -pthread MV_FILE = mv -f RM_FILE = rm -f -INSTALL_DIR = install -o root -g ${WAZUH_GROUP} -m 0750 -d -INSTALL_EXEC = install -o root -g ${WAZUH_GROUP} -m 0750 -INSTALL_FILE = install -o root -g ${WAZUH_GROUP} -m 0640 +INSTALL_DIR = install -m 0750 -d +INSTALL_EXEC = install -m 0750 +INSTALL_FILE = install -m 0640 ifdef DEBUG CFLAGS+=-g -I ../src