]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Makefile: Move -pie to LDFLAGS
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 7 May 2024 17:32:16 +0000 (19:32 +0200)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Wed, 8 May 2024 10:27:44 +0000 (12:27 +0200)
commit893a55831e5abbcd15b171db66fa1f389fb61506
tree28bad62146d6b7f9fd0230e33f8e98d5835b5ee5
parent896948b14ad26f15590269dce50ac4896284dc29
Makefile: Move -pie to LDFLAGS

Move -pie from LDLIBS to LDFLAGS and make LDFLAGS configurable to allow
the user to drop it by setting their own LDFLAGS (e.g. PIE could be
enabled or disabled by the buildsystem such as buildroot).

Suggested-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Makefile