summaryrefslogtreecommitdiffstats
path: root/libebl
diff options
context:
space:
mode:
Diffstat (limited to 'libebl')
-rw-r--r--libebl/ChangeLog4
-rw-r--r--libebl/Makefile.am2
2 files changed, 5 insertions, 1 deletions
diff --git a/libebl/ChangeLog b/libebl/ChangeLog
index 0605083e..56b0421b 100644
--- a/libebl/ChangeLog
+++ b/libebl/ChangeLog
@@ -1,5 +1,9 @@
2017-04-27 Ulf Hermann <[email protected]>
+ * Makefile.am: Use fpic_CFLAGS.
+
+2017-04-27 Ulf Hermann <[email protected]>
+
* eblmachineflagname.c: Don't include system.h.
* eblopenbackend.c: Likewise.
diff --git a/libebl/Makefile.am b/libebl/Makefile.am
index 6f945eb8..60d0e734 100644
--- a/libebl/Makefile.am
+++ b/libebl/Makefile.am
@@ -28,7 +28,7 @@
## not, see <http://www.gnu.org/licenses/>.
##
include $(top_srcdir)/config/eu.am
-AM_CFLAGS += -fPIC
+AM_CFLAGS += $(fpic_CFLAGS)
AM_CPPFLAGS += -I$(srcdir)/../libelf -I$(srcdir)/../libdw -I$(srcdir)/../libasm
VERSION = 1
LIBEBL_SUBDIR = @LIBEBL_SUBDIR@