diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-08-08 06:47:04 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-08-08 23:47:12 +0200 |
commit | fe7235aaa6b81bdb779dd4f19a07d20afdfea8da (patch) | |
tree | 6455a925f4e639c6c6b108a93b5607d3e273b60d /package/gnuplot | |
parent | fd4f715268df5fbfc14e6ea8a54fd5de70b6a947 (diff) | |
download | buildroot-fe7235aaa6b81bdb779dd4f19a07d20afdfea8da.tar.gz buildroot-fe7235aaa6b81bdb779dd4f19a07d20afdfea8da.zip |
gnuplot: fix m68k uclinux compile
The GCC manual suggest when getting:
relocation truncated to fit: R_68K_GOT16O foobar
to use -mxgot.
Fixes:
http://autobuild.buildroot.net/results/d1e030c42f43f49575f36ecc82e9dd9018ca4f73/
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gnuplot')
-rw-r--r-- | package/gnuplot/gnuplot.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/gnuplot/gnuplot.mk b/package/gnuplot/gnuplot.mk index 4408ece5be..a9e12045ec 100644 --- a/package/gnuplot/gnuplot.mk +++ b/package/gnuplot/gnuplot.mk @@ -25,6 +25,11 @@ GNUPLOT_CONF_OPTS = \ --without-latex \ --without-cairo +# relocation truncated to fit: R_68K_GOT16O +ifeq ($(BR2_m68k_cf),y) +GNUPLOT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mxgot" +endif + ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy) GNUPLOT_CONF_OPTS += --with-gd GNUPLOT_DEPENDENCIES += gd |