From e643ca81137be3aedb07821b2391aeafdc0413e2 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sat, 6 Feb 2021 16:37:52 +0000 Subject: [PATCH] build: Drop introspection+clang hack Forcing use of GCC breaks trying to use `clang -fsanitize=address`. The real fix here anyways should have been avoiding passing compiler flags to a compiler that doesn't understand them. --- Makefile-lib.am | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Makefile-lib.am b/Makefile-lib.am index 42636f25..bef049e1 100644 --- a/Makefile-lib.am +++ b/Makefile-lib.am @@ -36,10 +36,6 @@ librpmostree_1_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/libglnx -I$(srcdir)/src/libp librpmostree_1_la_LDFLAGS = $(AM_LDFLAGS) -version-number 1:0:0 -Bsymbolic-functions librpmostree_1_la_LIBADD = $(PKGDEP_LIBRPMOSTREE_LIBS) libglnx.la -# XXX: work around clang being passed -fstack-clash-protection which it doesn't understand -# https://github.com/projectatomic/rpm-ostree/pull/1787#issuecomment-473971585 -INTROSPECTION_SCANNER_ENV = CC=gcc - if BUILDOPT_INTROSPECTION RpmOstree-1.0.gir: librpmostree-1.la Makefile RpmOstree_1_0_gir_EXPORT_PACKAGES = rpm-ostree-1