275 |
${SRC_URI[*]} |
${SRC_URI[*]} |
276 |
http://ftp.gwdg.de/pub/misc/${_BASENAME}/releases/${_BASENAME}-${PVER}/${SRCFILE} |
http://ftp.gwdg.de/pub/misc/${_BASENAME}/releases/${_BASENAME}-${PVER}/${SRCFILE} |
277 |
#gnu://${_BASENAME}/${_BASENAME}-${PVER}/${SRCFILE} |
#gnu://${_BASENAME}/${_BASENAME}-${PVER}/${SRCFILE} |
278 |
http://isl.gforge.inria.fr/${ISL_SRCFILE} |
# http://isl.gforge.inria.fr/${ISL_SRCFILE} |
279 |
mirror://${_BASENAME}/${SRCFILE} |
mirror://${_BASENAME}/${SRCFILE} |
280 |
mirror://${_BASENAME}/${ISL_SRCFILE} |
# mirror://${_BASENAME}/${ISL_SRCFILE} |
281 |
mirror://${_BASENAME}/${_BASENAME}-8.1.0-no-fixincludes.patch |
# mirror://${_BASENAME}/${_BASENAME}-8.1.0-no-fixincludes.patch |
282 |
mirror://${_BASENAME}/${_BASENAME}-6.1.0-java-no-multilib.patch |
# mirror://${_BASENAME}/${_BASENAME}-6.1.0-java-no-multilib.patch |
283 |
) |
) |
284 |
|
|
285 |
UP2DATE="updatecmd 'https://ftp.gnu.org/gnu/${PNAME}/' | utf8encode | grep '\[DIR\].*${PNAME}' | sed 's:.*${PNAME}-\(.*\)/.*:\1:' | upsort_pipe" |
UP2DATE="updatecmd 'https://ftp.gnu.org/gnu/${PNAME}/' | utf8encode | grep '\[DIR\].*${PNAME}' | sed 's:.*${PNAME}-\(.*\)/.*:\1:' | upsort_pipe" |
288 |
#export CFLAGS="${CFLAGS//-O?} -O2" |
#export CFLAGS="${CFLAGS//-O?} -O2" |
289 |
#export CXXFLAGS="${CFLAGS}" |
#export CXXFLAGS="${CFLAGS}" |
290 |
|
|
291 |
# check for crosscompile or export default CHOST |
# from archlinux |
292 |
if [[ -z ${CTARGET} ]] |
# Credits @allanmcrae |
293 |
then |
# https://github.com/allanmcrae/toolchain/blob/f18604d70c5933c31b51a320978711e4e6791cf1/gcc/PKGBUILD |
294 |
# no crosscompile defined |
# TODO: properly deal with the build issues resulting from this |
295 |
export CTARGET=${CHOST} |
export CFLAGS="${CFLAGS/-Werror=format-security/}" |
296 |
else |
export CXXFLAGS="${CXXFLAGS/-Werror=format-security/}" |
297 |
# use crosscompile host |
|
298 |
export CTARGET=${CTARGET} |
## check for crosscompile or export default CHOST |
299 |
fi |
#if [[ -z ${CTARGET} ]] |
300 |
|
#then |
301 |
|
# # no crosscompile defined |
302 |
|
# export CTARGET=${CHOST} |
303 |
|
#else |
304 |
|
# # use crosscompile host |
305 |
|
# export CTARGET=${CTARGET} |
306 |
|
#fi |
307 |
|
|
308 |
if lang_enabled c |
if lang_enabled c |
309 |
then |
then |