wingo pushed a commit to branch wip-whippet
in repository guile.

commit 3147d313f9d6b9700f7a2cf5d81222a8be70287d
Author: Andy Wingo <wi...@pobox.com>
AuthorDate: Fri May 23 09:44:50 2025 +0200

    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
 

Reply via email to