#---------------------------------------------------------------------
-## Replaces sorcerys default_build with a custom version using
-## the invoke_gcc function from libgcc
+## Replaces sorcerys default_pre_build with a custom version using
+## the invoke_gcc function from libgcc #10641
#---------------------------------------------------------------------
-function default_build () {
+function default_pre_build () {
invoke_gcc &&
- real_default_build
+ real_default_pre_build
}
#---------------------------------------------------------------------
diff --git a/libgcc b/libgcc
index 9b9449c..7a516f9 100755
--- a/libgcc
+++ b/libgcc
@@ -12,8 +12,8 @@
## e.g. GCC_VERSION=3.4
## - add a 'depends gccXX' to the spell where XX == majorminor,
## e.g. 'depends gcc34'
-## - add 'invoke_gcc' to the top of BUILD if the spell has a
-## custom BUILD file
+## - add 'invoke_gcc' to the top of PRE_BUILD if the spell has a
+## custom PRE_BUILD file
## </pre>
##
## @Implementation These functions were added to allow the use of
[SM-Commit] GIT changes to master z-rejected grimoire by Jaka Kranjc (4845fd06aef5090935c518d9006656d9650aae15),
Jaka Kranjc, 03/03/2007