diff mbox series

[BlueZ,v2,06/10] build: drop explicit -fPIC from obexd CFLAGS

Message ID 20240216-hook-fixup-v2-6-a6b192d1a6ad@gmail.com
State New
Headers show
Series Handful of build fixes and cleanups | expand

Commit Message

Emil Velikov via B4 Relay Feb. 16, 2024, 11:11 p.m. UTC
From: Emil Velikov <emil.l.velikov@gmail.com>

The option is handled by the global --enable-pic. Drop the local
explicit argument.

With that we can drop the standalone CFLAGS.

Aside: the -D_FILE_OFFSET_BITS=64 also seems off - we should either be
setting it globally or not at all... Something for another rainy day.
---
 Makefile.obexd | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/Makefile.obexd b/Makefile.obexd
index e8e4a6144..01aa3a9c7 100644
--- a/Makefile.obexd
+++ b/Makefile.obexd
@@ -104,8 +104,6 @@  obexd_src_obexd_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) $(DBUS_CFLAGS) \
 				-D_FILE_OFFSET_BITS=64 \
 				-I$(builddir)/lib -I$(builddir)/obexd/src
 
-obexd_src_obexd_CFLAGS = $(AM_CFLAGS) -fPIC
-
 else
 obexd-add-service-symlink:
 obexd-remove-service-symlink: