ref: 45480204d98fa1f7869c4e9d8d8b81f80ff51aa1
parent: 93f74bbc731219383a50dfe17494dac405274fbe
author: Sebastian Rasmussen <sebras@gmail.com>
date: Wed Apr 10 09:40:08 EDT 2019
jbig2dec: Silence automake warning about setting CFLAGS directly. Setting AM_CFLAGS is added to CFLAGS, adding the wanted XCFLAGS.
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,7 @@
lib_LTLIBRARIES = libjbig2dec.la
include_HEADERS = jbig2.h
-CFLAGS = @CFLAGS@ $(XCFLAGS)
+AM_CFLAGS = $(XCFLAGS)
libjbig2dec_la_LDFLAGS = -version-info @JBIG2DEC_LT_CURRENT@:@JBIG2DEC_LT_REVISION@:@JBIG2DEC_LT_AGE@ -no-undefined
libjbig2dec_la_SOURCES = jbig2.c \