Package: r-base
Version: 3.0.1-3
Severity: serious
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd


Hi,

the current version fails to build on GNU/kFreeBSD
using current default compiler 4.8 with -O3.

It does build on kfreebsd-amd64 using -O2.

It might or might not be kfreebsd specific.
The note bellow change indicates that gcc-4.7 needed "-O2" too.

Petr

--- debian/rules
+++ debian/rules
@@ -76,7 +76,7 @@
 f95compiler     = gfortran
 compiler       = "gcc -std=gnu99"
 cxxcompiler    = g++
-optimflags     = -O3 -pipe
+optimflags     = -O2 -pipe

 # edd 22 Apr 2012  gcc-4.7 needs -O2 to build R (also #67359)
 ifneq "$(shell gcc --version | head -1 | cut -d' ' -f4 | grep '^4.7')" ""


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to