* [gentoo-commits] gentoo-x86 commit in sys-firmware/sgabios/files: sgabios-0.1_pre8-build-cc.patch
@ 2015-07-07 7:20 Mike Frysinger (vapier)
0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2015-07-07 7:20 UTC (permalink / raw
To: gentoo-commits
vapier 15/07/07 07:20:06
Added: sgabios-0.1_pre8-build-cc.patch
Log:
Use BUILD_CC when compiling the csum8 build-only tool #552280 by José Pekkarinen.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Revision Changes Path
1.1 sys-firmware/sgabios/files/sgabios-0.1_pre8-build-cc.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/sgabios/files/sgabios-0.1_pre8-build-cc.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/sgabios/files/sgabios-0.1_pre8-build-cc.patch?rev=1.1&content-type=text/plain
Index: sgabios-0.1_pre8-build-cc.patch
===================================================================
https://bugs.gentoo.org/552280
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,9 @@
BUILD_USER = \"$(shell whoami)\"
CFLAGS := -Wall -Os -m32 -nostdlib
+BUILD_CFLAGS := -Wall -O2
+BUILD_CC ?= $(CC)
+BUILD_LD ?= $(BUILD_CC)
ASFLAGS := $(CFLAGS)
ASFLAGS += -DBUILD_DATE="$(BUILD_DATE)"
@@ -55,7 +56,7 @@
$(LD) $(LDFLAGS) $(OBJS) -o $@
csum8: csum8.c
- $(CC) -Wall -O2 -o $@ $<
+ $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) -o $@ $<
sgabios.o: buildinfo
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-07 7:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-07 7:20 [gentoo-commits] gentoo-x86 commit in sys-firmware/sgabios/files: sgabios-0.1_pre8-build-cc.patch Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox