ppcrcd/trunk/yaboot/Makefile
sparky
cvs at pld-linux.org
Sat Feb 25 17:56:02 CET 2006
Author: sparky
Date: Sat Feb 25 17:56:00 2006
New Revision: 7010
Modified:
ppcrcd/trunk/yaboot/Makefile
Log:
- use rpm-default cc, LFLAGS -> LDFLAGS
Modified: ppcrcd/trunk/yaboot/Makefile
==============================================================================
--- ppcrcd/trunk/yaboot/Makefile (original)
+++ ppcrcd/trunk/yaboot/Makefile Sat Feb 25 17:56:00 2006
@@ -43,17 +43,14 @@
# Link flags
#
-LFLAGS = -Ttext $(TEXTADDR) -Bstatic
+LDFLAGS = -Ttext $(TEXTADDR) -Bstatic
# Libraries
#
LLIBS = /usr/lib/libext2fs.a
#lib/libext2fs.a
-# For compiling build-tools that run on the host.
-#
-HOSTCC = gcc
-HOSTCFLAGS = -O2 $(CFLAGS) -Wall -I/usr/include
+CC = $(shell rpm --eval "%{__cc}")
## End of configuration section
@@ -71,7 +68,7 @@
yaboot: $(OBJS) $(LLIBS)
@echo " [LD] $@"
- @$(LD) $(LFLAGS) $(OBJS) $(LLIBS) $(lgcc) -o $@
+ @$(LD) $(LDFLAGS) $(OBJS) $(LLIBS) $(lgcc) -o $@
@chmod -x yaboot
More information about the pld-cvs-commit
mailing list