Makefile.am: remove redundant AM_CFLAGS references
When target_CFLAGS is missing, $(AM_CFLAGS) is used implictly.
Signed-Off-By: Дилян Палаузов <git-dpa@aegee.org>
diff --git a/Makefile-fuzz.am b/Makefile-fuzz.am
index 719a489..dc87c0e 100644
--- a/Makefile-fuzz.am
+++ b/Makefile-fuzz.am
@@ -12,7 +12,6 @@
libtss2_tcti_fuzzing = test/fuzz/tcti/libtss2-tcti-fuzzing.la
noinst_LTLIBRARIES += $(libtss2_tcti_fuzzing)
-test_fuzz_tcti_libtss2_tcti_fuzzing_la_CFLAGS = $(AM_CFLAGS)
test_fuzz_tcti_libtss2_tcti_fuzzing_la_LIBADD = $(TESTS_LIBADD)
test_fuzz_tcti_libtss2_tcti_fuzzing_la_SOURCES = \
src/tss2-tcti/tcti-common.c src/tss2-tcti/tcti-common.h \
diff --git a/Makefile.am b/Makefile.am
index 8b8f59d..ec69517 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -201,7 +201,6 @@
### Internal utility library
libutil = libutil.la
noinst_LTLIBRARIES += $(libutil)
-libutil_la_CFLAGS = $(AM_CFLAGS)
libutil_la_SOURCES = $(UTIL_SRC)
### TCG TSS Marshaling/Unmarshaling spec library ###
@@ -226,7 +225,6 @@
nodist_pkgconfig_DATA += lib/tss2-tcti-device.pc
EXTRA_DIST += lib/tss2-tcti-device.map lib/tss2-tcti-device.pc.in
-src_tss2_tcti_libtss2_tcti_device_la_CFLAGS = $(AM_CFLAGS)
if HAVE_LD_VERSION_SCRIPT
src_tss2_tcti_libtss2_tcti_device_la_LDFLAGS = -Wl,--version-script=$(srcdir)/lib/tss2-tcti-device.map
endif # HAVE_LD_VERSION_SCRIPT
@@ -244,7 +242,6 @@
nodist_pkgconfig_DATA += lib/tss2-tcti-mssim.pc
EXTRA_DIST += lib/tss2-tcti-mssim.map lib/tss2-tcti-mssim.pc.in
-src_tss2_tcti_libtss2_tcti_mssim_la_CFLAGS = $(AM_CFLAGS)
if HAVE_LD_VERSION_SCRIPT
src_tss2_tcti_libtss2_tcti_mssim_la_LDFLAGS = -Wl,--version-script=$(srcdir)/lib/tss2-tcti-mssim.map
endif # HAVE_LD_VERSION_SCRIPT