FS#35905 - [bc] 1.0.6-8 fails to compile

Attached to Project: Arch Linux
Opened by Garry Roseman (sitquietly) - Sunday, 23 June 2013, 18:56 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 26 January 2014, 15:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Description: I noticed that bc-1.0.6-8 fails to build using the
current PKGBUILD and default CFLAGS/CPPFLAGS. It builds ok if
-fstack-protector --param=ssp-buffer-size=4
flags are removed and CPP is set null.

or set CFLAGS and CPPFLAGS to safe values in the PKGBUILD,

build() {
export CFLAGS="-march=x86-64 -mtune=generic -O3"
export CPPFLAGS=""

A workable PKGBUILD with that simple fix is attached.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 26 January 2014, 15:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.06-9