From f5b043dd172086c29cae07812d70b028164c5c9d Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 15:00:24 +0000 Subject: Apply patch 0001-build-sys-Pass-CFLAGS-to-DTRACE.patch patch_name: 0001-build-sys-Pass-CFLAGS-to-DTRACE.patch present_in_specfile: true location_in_specfile: 4 --- diff --git a/gio/Makefile.am b/gio/Makefile.am index 16c6387..f8670d2 100644 --- a/gio/Makefile.am +++ b/gio/Makefile.am @@ -859,7 +859,7 @@ gio_probes.h: gio_probes.d < $@.tmp > $@ && rm -f $@.tmp gio_probes.lo: gio_probes.d - $(AM_V_GEN) $(LIBTOOL) --mode=compile $(AM_V_lt) --tag=CC $(DTRACE) -G -s $< -o $@ + $(AM_V_GEN) $(LIBTOOL) --mode=compile $(AM_V_lt) --tag=CC env CFLAGS="$(CFLAGS)" $(DTRACE) -G -s $< -o $@ BUILT_SOURCES += gio_probes.h gio_probes.lo CLEANFILES += gio_probes.h gio_probes.h.tmp diff --git a/glib/Makefile.am b/glib/Makefile.am index 8da549c..c0c3b92 100644 --- a/glib/Makefile.am +++ b/glib/Makefile.am @@ -371,7 +371,7 @@ glib_probes.h: glib_probes.d < $@.tmp > $@ && rm -f $@.tmp glib_probes.lo: glib_probes.d - $(AM_V_GEN) $(LIBTOOL) --mode=compile $(AM_V_lt) --tag=CC $(DTRACE) -G -s $< -o $@ + $(AM_V_GEN) $(LIBTOOL) --mode=compile $(AM_V_lt) --tag=CC env CFLAGS="$(CFLAGS)" $(DTRACE) -G -s $< -o $@ BUILT_SOURCES += glib_probes.h glib_probes.lo CLEANFILES += glib_probes.h glib_probes.h.tmp diff --git a/gobject/Makefile.am b/gobject/Makefile.am index b6f21de..a55906e 100644 --- a/gobject/Makefile.am +++ b/gobject/Makefile.am @@ -119,7 +119,7 @@ gobject_probes.h: gobject_probes.d < $@.tmp > $@ && rm -f $@.tmp gobject_probes.lo: gobject_probes.d - $(AM_V_GEN) $(LIBTOOL) --mode=compile $(AM_V_lt) --tag=CC $(DTRACE) -G -s $< -o $@ + $(AM_V_GEN) $(LIBTOOL) --mode=compile $(AM_V_lt) --tag=CC env CFLAGS="$(CFLAGS)" $(DTRACE) -G -s $< -o $@ BUILT_SOURCES += gobject_probes.h gobject_probes.lo CLEANFILES += gobject_probes.h