Skip to content

Commit

Permalink
build/pkgs/r/spkg-install.in: Work around a failing R configure check…
Browse files Browse the repository at this point in the history
… for hidden Fortran character lengths
  • Loading branch information
mkoeppe committed Mar 22, 2020
1 parent be1e22c commit 5fbea80
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/pkgs/r/spkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ else
CFLAGS="-g -O2 $CFLAGS"
FCFLAGS="-g -O2 $FCFLAGS"
fi
# #29170: Compilation errors caused by a silently failing configure check
# "for type of 'hidden' Fortran character lengths"
# on ubuntu-bionic-minimal, ubuntu-eoan/focal-minimal, debian-buster/bullseye/sid-minimal,
# linuxmint-19.3-minimal, archlinux-latest-minimal
CFLAGS="$CFLAGS -fPIC"
FCFLAGS="$FCFLAGS -fPIC"

export CFLAGS CPPFLAGS FCFLAGS LDFLAGS

Expand Down

0 comments on commit 5fbea80

Please sign in to comment.