From be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 04:57:58 +0200 Subject: Adding upstream version 1.44.3. Signed-off-by: Daniel Baumann --- .../lib/librdkafka-2.1.0/mklove/modules/configure.pic | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 fluent-bit/lib/librdkafka-2.1.0/mklove/modules/configure.pic (limited to 'fluent-bit/lib/librdkafka-2.1.0/mklove/modules/configure.pic') diff --git a/fluent-bit/lib/librdkafka-2.1.0/mklove/modules/configure.pic b/fluent-bit/lib/librdkafka-2.1.0/mklove/modules/configure.pic new file mode 100644 index 00000000..8f138f8d --- /dev/null +++ b/fluent-bit/lib/librdkafka-2.1.0/mklove/modules/configure.pic @@ -0,0 +1,16 @@ +#!/bin/bash +# +# Checks if -fPIC is supported, and if so turns it on. +# +# Sets: +# HAVE_PIC +# CPPFLAGS +# + +function checks { + + if mkl_compile_check PIC HAVE_PIC disable CC "-fPIC" "" ; then + mkl_mkvar_append CPPFLAGS CPPFLAGS "-fPIC" + fi +} + -- cgit v1.2.3