From fa4cf7869e02d9a0a72058df1b258b92045b4439 Mon Sep 17 00:00:00 2001 From: Reid Priedhorsky <1682574+reidpr@users.noreply.github.com> Date: Wed, 27 Mar 2024 13:11:25 -0600 Subject: [PATCH] =?UTF-8?q?PR=20#1882:=20fix=20$CFLAGS=20duplication=20tha?= =?UTF-8?q?t=20we=E2=80=99ve=20had=20since=202019?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/Makefile.am | 3 ++- configure.ac | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/Makefile.am b/bin/Makefile.am index bb60ff3dd..0b2b9a77e 100644 --- a/bin/Makefile.am +++ b/bin/Makefile.am @@ -13,7 +13,8 @@ if HAVE_LIBSQUASHFUSE ch_run_SOURCES += ch_fuse.h ch_fuse.c endif -ch_run_CFLAGS = $(CFLAGS) $(PTHREAD_CFLAGS) +# additional build flags for ch-run +ch_run_CFLAGS = $(PTHREAD_CFLAGS) ch_run_LDADD = $(CH_RUN_LIBS) diff --git a/configure.ac b/configure.ac index 3ca364e80..b3668680e 100644 --- a/configure.ac +++ b/configure.ac @@ -941,7 +941,7 @@ Building Charliecloud test suite ... ${enable_test} required: - C99 compiler ... ${CC} ${CC_VERSION} + C99 compiler ... ${CC} ${CFLAGS} optional: extended glob patterns in --unset-env ... ${have_fnm_extmatch}