Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146887 - dev-lang/bff doesn't respect CFLAGS/won't crosscompile
Summary: dev-lang/bff doesn't respect CFLAGS/won't crosscompile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Simon Stelling (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-08 15:16 UTC by Jakub Moc (RETIRED)
Modified: 2006-09-09 02:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2006-09-08 15:16:06 UTC
--- bff-1.0.3.1.ebuild.old	2006-05-25 23:35:38.000000000 +0200
+++ bff-1.0.3.1.ebuild	2006-09-09 00:08:08.000000000 +0200
@@ -1,6 +1,8 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/bff/bff-1.0.3.1.ebuild,v 1.4 2006/05/25 21:25:54 blubb Exp $
+# $Header: $
+
+inherit toolchain-funcs
 
 DESCRIPTION="a brainfuck interpreter"
 HOMEPAGE="http://swapped.cc/bf/"
@@ -15,7 +17,7 @@
 RDEPEND=""
 
 src_compile() {
-	gcc -o bff bff.c
+	$(tc-getCC) ${CFLAGS} -o bff bff.c || die "compile failed"
 }
 
 src_install() {
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-09-09 02:05:41 UTC
Yay for patches!