Drop -fno-strength-reduce from default CFLAGS not supported by Clang

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-10-31 10:13:36 +01:00
parent ba9e494db2
commit aad95082fb

View File

@ -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