diff options
| author | Jose E. Marchesi <[email protected]> | 2015-10-05 17:36:30 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-10-06 23:40:19 +0200 |
| commit | 133509fa406e0e8d4d0f0632e2ee8c5e32dcb010 (patch) | |
| tree | fd35007eb121d163d77052cb1bf69c79a0ef50c4 /libebl/Makefile.am | |
| parent | 22843755fa0b6870162660105c6fbbd1ba078390 (diff) | |
Use -fPIC instead of -fpic when generating PIC code.
This avoids relocation overflows in sparc/sparc64 targets while
linking, where the reachable data using -fpic is only 4kb.
Signed-off-by: Jose E. Marchesi <[email protected]>
Diffstat (limited to 'libebl/Makefile.am')
| -rw-r--r-- | libebl/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libebl/Makefile.am b/libebl/Makefile.am index ec4477b7..6b41a3e1 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 AM_CPPFLAGS += -I$(srcdir)/../libelf -I$(srcdir)/../libdw -I$(srcdir)/../libasm VERSION = 1 LIBEBL_SUBDIR = @LIBEBL_SUBDIR@ |
