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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Emil Velikov <emil.l.velikov@xxxxxxxxx>

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 --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:

-- 
2.43.1





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux