From be64956973966fa71f91a9405b9a0b87735ba32f Mon Sep 17 00:00:00 2001 From: Jiri Date: Mon, 13 Sep 2021 10:34:28 +0200 Subject: [PATCH] (JIGA_LIB) target (CC) call now uses $(CFLAGS) Eg --sysroot is usually transfered via them --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index ce5fb41..46cff9d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -97,7 +97,7 @@ clean-native-objects: $(JIGA_BUILDDIR)/$(JIGA_LIB): $(addprefix $(JIGA_INCLUDEDIR)/,$(JIGA_NATIVE_HDRS)) \ $(addprefix $(JIGA_BUILDDIR)/,$(JIGA_NATIVE_OBJS)) - $(CC) $(LDFLAGS) $(addprefix $(JIGA_BUILDDIR)/,$(JIGA_NATIVE_OBJS)) -shared -o $@ $(CRIU_LIBS) + $(CC) $(LDFLAGS) $(addprefix $(JIGA_BUILDDIR)/,$(JIGA_NATIVE_OBJS)) -shared -o $@ $(CRIU_LIBS) $(CFLAGS) clean-lib: $(RM) $(JIGA_BUILDDIR)/$(JIGA_LIB)