summaryrefslogtreecommitdiff
path: root/modules/alloca-opt
diff options
context:
space:
mode:
Diffstat (limited to 'modules/alloca-opt')
-rw-r--r--modules/alloca-opt4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/alloca-opt b/modules/alloca-opt
index ae0084c2a9..895741bbe1 100644
--- a/modules/alloca-opt
+++ b/modules/alloca-opt
@@ -19,7 +19,9 @@ EXTRA_DIST += alloca_.h
# We need the following in order to create <alloca.h> when the system
# doesn't have one that works with the given compiler.
alloca.h: alloca_.h
- cp -f $(srcdir)/alloca_.h $@-t
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/alloca_.h; \
+ } > $@-t
mv -f $@-t $@
MOSTLYCLEANFILES += alloca.h alloca.h-t