ppcrcd/trunk/Makefile
sparky
cvs at pld-linux.org
Sat Jul 22 04:39:18 CEST 2006
Author: sparky
Date: Sat Jul 22 04:39:16 2006
New Revision: 7538
Modified:
ppcrcd/trunk/Makefile
Log:
- rename *FLAGS with R prefix, for not export widely used names
Modified: ppcrcd/trunk/Makefile
==============================================================================
--- ppcrcd/trunk/Makefile (original)
+++ ppcrcd/trunk/Makefile Sat Jul 22 04:39:16 2006
@@ -5,16 +5,16 @@
DATE = $(shell date -I -u)
SU = sudo
-BCOND = --without python --without smp --without doc
+BCOND := --without python --without smp --without doc
-LDFLAGS := -Wl,--as-needed
-CFLAGS := -Os -fsigned-char
-CFLAGS += -fno-align-loops -fno-align-jumps \
+RLDFLAGS := -Wl,--as-needed -Wl,-s
+RCFLAGS := -Os -fsigned-char
+RCFLAGS += -fno-align-loops -fno-align-jumps \
-fno-align-functions -fno-align-labels \
-fno-reorder-blocks -fno-reorder-blocks-and-partition \
-fno-prefetch-loop-arrays -fno-tree-vect-loop-version \
- -fno-strict-aliasing -fwrapv $(LDFLAGS)
-CXXFLAGS := $(CFLAGS)
+ -fno-strict-aliasing -fwrapv $(RLDFLAGS)
+RCXXFLAGS := $(RCFLAGS)
DOCSRC = images opts netbooting usb_boot chrp progs bonus net AirPort2
YDOCSRC = images opts
@@ -242,9 +242,9 @@
--define="_topdir $(PWD)/out/rpm" \
$(notdir $(firstword $^)).spec \
$(BCOND-$(notdir $(firstword $^))) $(BCOND) \
- --define="rpmcflags $(CFLAGS)" \
- --define="rpmcxxflags $(CXXFLAGS)" \
- --define="rpmldflags $(LDFLAGS)"; \
+ --define="rpmcflags $(RCFLAGS)" \
+ --define="rpmcxxflags $(RCXXFLAGS)" \
+ --define="rpmldflags $(RLDFLAGS)"; \
echo $$? > $(PWD)/EXIT) | tee $(PWD)/buildout;
[ `cat EXIT` == 0 ] || exit `cat EXIT`
rm -f RPMlist
More information about the pld-cvs-commit
mailing list