Hiyas,

The scratch build target does not respect the BUILD_FLAGS variable,
that is repected for make build. This patch changes this and makes it possible
to use, e.g.:
make scratch-build BUILD_FLAGS=--nowait

Regards,
Till
The scratch build target does not respect the BUILD_FLAGS variable,
that is repected for make build. This patch changes this and makes it possible
to use, e.g.:
make scratch-build BUILD_FLAGS=--nowait

Index: common/Makefile.common
===================================================================
RCS file: /cvs/pkgs/common/Makefile.common,v
retrieving revision 1.86
diff -u -r1.86 Makefile.common
--- common/Makefile.common	3 Jan 2008 19:27:07 -0000	1.86
+++ common/Makefile.common	6 Jan 2008 18:37:08 -0000
@@ -430,12 +430,12 @@
 
 scratch-build: build-check
 	@if [ ! -x "$(BUILD_CLIENT)" ]; then echo "Must have koji installed - see http://fedoraproject.org/wiki/BuildSystemClientSetup";; exit 1; fi
-	@$(BUILD_CLIENT) $(SECONDARY_CONFIG) build --scratch $(TARGET) '$(CVS_URL)'
+	@$(BUILD_CLIENT) $(SECONDARY_CONFIG) build --scratch $(BUILD_FLAGS) $(TARGET) '$(CVS_URL)'
 
 
 scratch-build-%: build-check
 	@if [ ! -x "$(BUILD_CLIENT)" ]; then echo "Must have koji installed - see http://fedoraproject.org/wiki/BuildSystemClientSetup";; exit 1; fi
-	@$(BUILD_CLIENT) $(SECONDARY_CONFIG) build --scratch --arch-override=$* $(TARGET) '$(CVS_URL)'
+	@$(BUILD_CLIENT) $(SECONDARY_CONFIG) build --scratch --arch-override=$* $(BUILD_FLAGS) $(TARGET) '$(CVS_URL)'
 
 
 bodhi: build-check $(COMMON_DIR)/branches clog 

Attachment: signature.asc
Description: This is a digitally signed message part.

--
Fedora-buildsys-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list

Reply via email to