From aad95082fbf3e741b933c8a4248e0b5cd9650df2 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Thu, 31 Oct 2019 10:13:36 +0100 Subject: [PATCH] Drop -fno-strength-reduce from default CFLAGS not supported by Clang Signed-off-by: Joachim Nilsson --- src/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 7a6213a..b25efd5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -22,8 +22,7 @@ sbin_PROGRAMS = syslogd klogd lib_LTLIBRARIES = libsyslog.la AM_CFLAGS = -W -Wall -Wextra -AM_CFLAGS += -Wno-unused-result -Wno-unused-parameter -AM_CFLAGS += -fno-strict-aliasing -fno-strength-reduce +AM_CFLAGS += -Wno-unused-result -Wno-unused-parameter -fno-strict-aliasing syslogd_SOURCES = syslogd.c syslog.h pidfile.c pidfile.h syslogd_CPPFLAGS = -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE