From 3147d313f9d6b9700f7a2cf5d81222a8be70287d Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Fri, 23 May 2025 09:44:50 +0200 Subject: [PATCH] Add Guile's CFLAGS to WHIPPET_IMPL_CFLAGS * libguile/Makefile.am (WHIPPET_IMPL_CFLAGS): Add GCC_CFLAGS, to ensure the same compilation options (notably -fwrapv), to prevent mismatches at LTO-time. --- libguile/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/libguile/Makefile.am b/libguile/Makefile.am index 21ea143a5..929c0ba63 100644 --- a/libguile/Makefile.am +++ b/libguile/Makefile.am @@ -25,6 +25,7 @@ noinst_LTLIBRARIES = include $(top_srcdir)/am/snarf include lightening/lightening.am include whippet/embed.am +WHIPPET_IMPL_CFLAGS += $(GCC_CFLAGS) WHIPPET_EMBEDDER_H = $(srcdir)/whippet-embedder.h