Commit 81ef8878 by Richard Guenther Committed by Richard Biener

Makefile.def (cloog): Pass $(HOST_GMPINC) and $(HOST_ISLINC) as CPPFLAGS...

2012-07-06  Richard Guenther  <rguenther@suse.de>

	* Makefile.def (cloog): Pass $(HOST_GMPINC) and $(HOST_ISLINC)
	as CPPFLAGS, pass path to built gmp as LDFLAGS, always use
	--with-gmp=system.
	* Makefile.in: Regenerated.
	* configure: Likewise.

From-SVN: r189328
parent 0ff2d841
2012-07-06 Richard Guenther <rguenther@suse.de> 2012-07-06 Richard Guenther <rguenther@suse.de>
* Makefile.def (cloog): Pass $(HOST_GMPINC) and $(HOST_ISLINC)
as CPPFLAGS, pass path to built gmp as LDFLAGS, always use
--with-gmp=system.
* Makefile.in: Regenerated.
* configure: Likewise.
2012-07-06 Richard Guenther <rguenther@suse.de>
* configure.ac (extra_isl_gmp_configure_flags): Initialize and subst. * configure.ac (extra_isl_gmp_configure_flags): Initialize and subst.
* Makefile.def (isl): Use extra_isl_gmp_configure_flags and * Makefile.def (isl): Use extra_isl_gmp_configure_flags and
supply V=1 as extra_make_flags. supply V=1 as extra_make_flags.
......
...@@ -66,8 +66,8 @@ host_modules= { module= isl; lib_path=.libs; bootstrap=true; ...@@ -66,8 +66,8 @@ host_modules= { module= isl; lib_path=.libs; bootstrap=true;
extra_make_flags='V=1'; extra_make_flags='V=1';
no_install= true; }; no_install= true; };
host_modules= { module= cloog; lib_path=.libs; bootstrap=true; host_modules= { module= cloog; lib_path=.libs; bootstrap=true;
extra_configure_flags='--disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-isl=system'; extra_configure_flags='--disable-shared --with-gmp=system --with-bits=gmp --with-isl=system';
extra_exports='CPPFLAGS="-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; '; extra_exports='CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; ';
extra_make_flags='CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1'; extra_make_flags='CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1';
no_install= true; }; no_install= true; };
host_modules= { module= libelf; lib_path=.libs; bootstrap=true; host_modules= { module= libelf; lib_path=.libs; bootstrap=true;
......
...@@ -646,7 +646,6 @@ stage1_languages ...@@ -646,7 +646,6 @@ stage1_languages
extra_host_libiberty_configure_flags extra_host_libiberty_configure_flags
clooginc clooginc
clooglibs clooglibs
extra_cloog_isl_configure_flags
islinc islinc
isllibs isllibs
poststage1_ldflags poststage1_ldflags
...@@ -5675,12 +5674,10 @@ fi ...@@ -5675,12 +5674,10 @@ fi
if test "x${with_isl_lib}" != x; then if test "x${with_isl_lib}" != x; then
isllibs="-L$with_isl_lib" isllibs="-L$with_isl_lib"
fi fi
extra_cloog_isl_configure_flags='--with-isl=system'
if test "x${islinc}" = x && test "x${isllibs}" = x \ if test "x${islinc}" = x && test "x${isllibs}" = x \
&& test -d ${srcdir}/isl; then && test -d ${srcdir}/isl; then
isllibs='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' ' isllibs='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
islinc='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include' islinc='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
extra_cloog_isl_configure_flags='--with-isl-builddir=$$r/$(HOST_DIR)/isl'
ENABLE_ISL_CHECK=no ENABLE_ISL_CHECK=no
fi fi
...@@ -5690,7 +5687,6 @@ fi ...@@ -5690,7 +5687,6 @@ fi
if test "x$with_isl" != "xno"; then if test "x$with_isl" != "xno"; then
if test "${ENABLE_ISL_CHECK}" = yes ; then if test "${ENABLE_ISL_CHECK}" = yes ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment