mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[build] Fix dump_cc_run not creating bash scripts
It was the difference between > and >>
This commit is contained in:
@@ -67,7 +67,7 @@ rule dump_c_run
|
|||||||
description = Dumping C arguments for $target
|
description = Dumping C arguments for $target
|
||||||
command = $
|
command = $
|
||||||
echo "#!/bin/bash" > $out; $
|
echo "#!/bin/bash" > $out; $
|
||||||
echo '$cc $ccflags $cflags $$*' > $out; $
|
echo '$cc $ccflags $cflags $$*' >> $out; $
|
||||||
chmod a+x $out
|
chmod a+x $out
|
||||||
|
|
||||||
rule cpp
|
rule cpp
|
||||||
@@ -84,7 +84,7 @@ rule dump_cpp_run
|
|||||||
description = Dumping C++ arguments for $target
|
description = Dumping C++ arguments for $target
|
||||||
command = $
|
command = $
|
||||||
echo "#!/bin/bash" > $out; $
|
echo "#!/bin/bash" > $out; $
|
||||||
echo '$cc $cxxflags $ccflags $$*' > $out; $
|
echo '$cc $cxxflags $ccflags $$*' >> $out; $
|
||||||
chmod a+x $out
|
chmod a+x $out
|
||||||
|
|
||||||
rule s
|
rule s
|
||||||
|
|||||||
Reference in New Issue
Block a user